SciPy

scipy.interpolate.pchip.construct_fast

pchip.construct_fast(c, x, extrapolate=None, axis=0)[source]

Construct the piecewise polynomial without making checks.

Takes the same parameters as the constructor. Input arguments c and x must be arrays of the correct shape and type. The c array can only be of dtypes float and complex, and x array must have dtype float.