Function mrpt::math::interpolate2points
Defined in File interp_fit.h
Function Documentation
-
double mrpt::math::interpolate2points(const double x, const double x0, const double y0, const double x1, const double y1, bool wrap2pi = false)
Linear interpolation/extrapolation: evaluates at “x” the line (x0,y0)-(x1,y1). If wrap2pi is true, output is wrapped to ]-pi,pi] (It is assumed that input “y” values already are in the correct range).
See also