bundles / scipy latest / scipy / interpolate / _polyint / BarycentricInterpolator / set_yi
function
scipy.interpolate._polyint:BarycentricInterpolator.set_yi
Signature
def set_yi ( self , yi , axis = None ) Summary
Update the y values to be interpolated
Extended Summary
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_likeThe y-coordinates of the points the polynomial will pass through. If None, the y values must be supplied later.
axis: int, optionalAxis in the
yiarray corresponding to the x-coordinate values.
Aliases
-
scipy.interpolate.BarycentricInterpolator.set_yi