Convenience function for pchip interpolation. xi and yi are arrays of values used to approximate some function f, with yi = f(xi). The interpolant uses monotonic cubic splines to find the value of new points x and the derivatives there.
See PchipInterpolator for details.
Parameters: | xi : array_like
yi : array_like
x : scalar or array_like
der : integer or list
axis : int, optional
|
---|---|
Returns: | y : scalar or array_like
|
See also