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 fondamentaux
Voir le programme détaillé
Classe « NdPPoly »

Méthode scipy.interpolate.NdPPoly.integrate_1d

Signature de la méthode integrate_1d

def integrate_1d(self, a, b, axis, extrapolate=None) 

Description

help(NdPPoly.integrate_1d)

Compute NdPPoly representation for one dimensional definite integral

The result is a piecewise polynomial representing the integral:

.. math::

   p(y, z, ...) = \int_a^b dx\, p(x, y, z, ...)

where the dimension integrated over is specified with the
`axis` parameter.

Parameters
----------
a, b : float
    Lower and upper bound for integration.
axis : int
    Dimension over which to compute the 1-D integrals
extrapolate : bool, optional
    Whether to extrapolate to out-of-bounds points based on first
    and last intervals, or to return NaNs.

Returns
-------
ig : NdPPoly or array-like
    Definite integral of the piecewise polynomial over [a, b].
    If the polynomial was 1D, an array is returned,
    otherwise, an NdPPoly object.



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