bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / interpolate / _interpolate / NdPPoly / integrate
function
scipy.interpolate._interpolate:NdPPoly.integrate
source: build-install/usr/lib/python3.14/site-packages/scipy/interpolate/_interpolate.py:2780
Signature
def integrate(self, ranges, extrapolate = None)Summary
Compute a definite integral over a piecewise polynomial.
Parameters
ranges: ndim-tuple of 2-tuples floatSequence of lower and upper bounds for each dimension,
[(a[0], b[0]), ..., (a[ndim-1], b[ndim-1])]extrapolate: bool, optionalWhether to extrapolate to out-of-bounds points based on first and last intervals, or to return NaNs.
Returns
ig: array_likeDefinite integral of the piecewise polynomial over [a[0], b[0]] x ... x [a[ndim-1], b[ndim-1]]
Aliases
scipy.interpolate.NdPPoly.integrate