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 :

xi : array_like of length N1

The x coordinates of the points the polynomial should pass through

yi : array_like N1 by R or None

The y coordinates of the points the polynomial should pass through; if R>1 the polynomial is vector-valued. If None the y values will be supplied later. The yi should be specified if and only if the interpolator has y values specified.

Previous topic

scipy.interpolate.BarycentricInterpolator.__call__

Next topic

scipy.interpolate.BarycentricInterpolator.set_yi