Defined in header <scicpp/core.hpp>
Integrate using the trapezoidal rule.
Integrate over the elements between a pair of iterators.
dx: | Integration step (spacing between sample points). |
---|
Integrate over the elements in a std::array.
Integrate over the elements in a std::vector.