construct_fast — SciPy v1.15.3 Manual (original) (raw)

scipy.interpolate.PPoly.

classmethod PPoly.construct_fast(c, x, extrapolate=None, axis=0)[source]#

Construct the piecewise polynomial without making checks.

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