SciPy

scipy.interpolate.BarycentricInterpolator.add_xi

BarycentricInterpolator.add_xi(xi, yi=None)[source]

Add more x values to the set to be interpolated

The barycentric interpolation algorithm allows easy updating by adding more points for the polynomial to pass through.

Parameters
xiarray_like

The x coordinates of the points that the polynomial should pass through.

yiarray_like, optional

The y coordinates of the points the polynomial should pass through. Should have shape (xi.size, R); if R > 1 then the polynomial is vector-valued. If yi is not given, the y values will be supplied later. yi should be given if and only if the interpolator has y values specified.

Previous topic

scipy.interpolate.BarycentricInterpolator.__call__

Next topic

scipy.interpolate.BarycentricInterpolator.set_yi