SciPy

scipy.interpolate.PPoly.construct_fast

classmethod PPoly.construct_fast(c, x, extrapolate=None)[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.