PCHIP 1-d monotonic cubic interpolation
x and y are arrays of values used to approximate some function f, with y = f(x). The interpolant uses monotonic cubic splines to find the value of new points.
Parameters : | x : ndarray
y : ndarray
axis : int, optional
|
---|
Notes
Assumes x is sorted in monotonic order (e.g. x[1] > x[0]).
Methods
__call__(x) | Evaluate the interpolant |
append(xi, yi[, order]) | Append a single point with derivatives to the PiecewisePolynomial |
derivative(x[, der]) | Evaluate one derivative of the polynomial at the point x |
derivatives(x[, der]) | Evaluate many derivatives of the polynomial at the point x |
extend(xi, yi[, orders]) | Extend the PiecewisePolynomial by a list of points |