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

scipy.interpolate.NdPPoly.

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