Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Vous êtes un professionnel et vous avez besoin d'une formation ? Programmation Python
Les compléments
Voir le programme détaillé
Classe « BarycentricInterpolator »

Méthode scipy.interpolate.BarycentricInterpolator.add_xi

Signature de la méthode add_xi

def add_xi(self, xi, yi=None) 

Description

help(BarycentricInterpolator.add_xi)

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
    The x coordinates of the points that the polynomial should pass
    through.
yi : array_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.

Notes
-----
The new points added by `add_xi` are not randomly permuted
so there is potential for numerical instability,
especially for a large number of points. If this
happens, please reconstruct interpolation from scratch instead.


Vous êtes un professionnel et vous avez besoin d'une formation ? Machine Learning
avec Scikit-Learn
Voir le programme détaillé