Template Function mrpt::math::spline
Defined in File interp_fit.hpp
Function Documentation
-
template<typename NUMTYPE, class VECTORLIKE>
NUMTYPE mrpt::math::spline(const NUMTYPE t, const VECTORLIKE &x, const VECTORLIKE &y, bool wrap2pi = false) Interpolates the value of a function in a point “t” given 4 SORTED points where “t” is between the two middle points If wrap2pi is true, output “y” values are wrapped to ]-pi,pi] (It is assumed that input “y” values already are in the correct range).
See also
Note
Implementation in
#include <mrpt/math/interp_fit.hpp>