Template Function mrpt::math::interpolate
Defined in File interp_fit.hpp
Function Documentation
-
template<class T, class VECTOR>
T mrpt::math::interpolate(const T &x, const VECTOR &ys, const T &x0, const T &x1) Interpolate a data sequence “ys” ranging from “x0” to “x1” (equally spaced), to obtain the approximation of the sequence at the point “x”. If the point “x” is out of the range [x0,x1], the closest extreme “ys” value is returned.
See also
Note
Implementation in
#include <mrpt/math/interp_fit.hpp>