SciPy

This is documentation for an old release of SciPy (version 1.3.3). Read this page in the documentation of the latest stable release (version 1.15.0).

scipy.interpolate.CubicHermiteSpline.construct_fast

classmethod CubicHermiteSpline.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.