SciPy

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

scipy.interpolate.PiecewisePolynomial.__call__

PiecewisePolynomial.__call__(x)[source]

Evaluate the interpolant

Parameters:

x : array_like

Points to evaluate the interpolant at.

Returns:

y : array_like

Interpolated values. Shape is determined by replacing the interpolation axis in the original array with the shape of x.