interpax.CubicSpline.construct_fast

classmethod CubicSpline.construct_fast(c: Inexact[Array, 'k m ...'] | Inexact[ndarray, 'k m ...'], x: Real[Array, 'm+1'] | Real[ndarray, 'm+1'], extrapolate: bool | str | None = None, axis: int = 0) PPolySource

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.