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 ? Machine Learning
avec Scikit-Learn
Voir le programme détaillé
Classe « PPoly »

Méthode scipy.interpolate.PPoly.roots

Signature de la méthode roots

def roots(self, discontinuity=True, extrapolate=None) 

Description

help(PPoly.roots)

Find real roots of the piecewise polynomial.

Parameters
----------
discontinuity : bool, optional
    Whether to report sign changes across discontinuities at
    breakpoints as roots.
extrapolate : {bool, 'periodic', None}, optional
    If bool, determines whether to return roots from the polynomial
    extrapolated based on first and last intervals, 'periodic' works
    the same as False. If None (default), use `self.extrapolate`.

Returns
-------
roots : ndarray
    Roots of the polynomial(s).

    If the PPoly object describes multiple polynomials, the
    return value is an object array whose each element is an
    ndarray containing the roots.

See Also
--------
PPoly.solve


Vous êtes un professionnel et vous avez besoin d'une formation ? Sensibilisation à
l'Intelligence Artificielle
Voir le programme détaillé