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 « NdPPoly »

Méthode scipy.interpolate.NdPPoly.__call__

Signature de la méthode __call__

def __call__(self, x, nu=None, extrapolate=None) 

Description

help(NdPPoly.__call__)

Evaluate the piecewise polynomial or its derivative

Parameters
----------
x : array-like
    Points to evaluate the interpolant at.
nu : tuple, optional
    Orders of derivatives to evaluate. Each must be non-negative.
extrapolate : bool, optional
    Whether to extrapolate to out-of-bounds points based on first
    and last intervals, or to return NaNs.

Returns
-------
y : array-like
    Interpolated values. Shape is determined by replacing
    the interpolation axis in the original array with the shape of x.

Notes
-----
Derivatives are evaluated piecewise for each polynomial
segment, even if the polynomial is not differentiable at the
breakpoints. The polynomial intervals are considered half-open,
``[a, b)``, except for the last interval which is closed
``[a, b]``.



Vous êtes un professionnel et vous avez besoin d'une formation ? Deep Learning avec Python
et Keras et Tensorflow
Voir le programme détaillé