This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / interpolate / _polyint / BarycentricInterpolator / __call__

function

scipy.interpolate._polyint:BarycentricInterpolator.__call__

source: build-install/usr/lib/python3.14/site-packages/scipy/interpolate/_polyint.py:845

Signature

def __call__(self, x)

Summary

Evaluate the interpolating polynomial at the points x

Parameters

x : array_like

Point or points at which to evaluate the interpolant.

Returns

y : array_like

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

Notes

Currently the code computes an outer product between x and the weights, that is, it constructs an intermediate array of size (N, len(x)), where N is the degree of the polynomial.

Aliases

  • scipy.interpolate.BarycentricInterpolator.__call__