Documentation
Tools for embedded systems
|
The qlibs::interp1 class provides a simple, consistent interface for a set of one-dimensional interpolators. The class recieves X-Values and Y-Values and the size of this arrays to setup the instance. The user can later pass the X point to interpolate, and the interpolator instance return the estimated Y at the point X using the specified method.
The current supported methods are:
If value is beyond the endpoints, extrapolation is performed using the current method.