Function lupnt::CumTrapz

Function Documentation

inline VecXd lupnt::CumTrapz(const VecXd &y, const VecXd &t)

Cumulative trapezoidal integral of samples y(t): out(0) = 0, out(k) = integral of y from t(0) to t(k).