scipy.interpolate.BarycentricInterpolator.set_yi

BarycentricInterpolator.set_yi(yi)[source]

Update the y values to be interpolated

The barycentric interpolation algorithm requires the calculation of weights, but these depend only on the xi. The yi can be changed at any time.

Parameters :

yi : array_like N by R

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.

Previous topic

scipy.interpolate.BarycentricInterpolator.add_xi

Next topic

scipy.interpolate.KroghInterpolator