PCHIP 1-d monotonic cubic interpolation
x and y are arrays of values used to approximate some function f, with y = f(x). This class factory function returns a callable class whose __call__ method uses monotonic cubic, interpolation to find the value of new points.
Parameters : | x : array
y : array
Assumes x is sorted in monotonic order (e.g. ``x[1] > x[0]``). : |
---|---|
Returns : | pchip : PiecewisePolynomial instance
|