bundles / scipy latest / scipy / interpolate / _interpolate / PPoly / integrate
function
scipy.interpolate._interpolate:PPoly.integrate
Signature
def integrate ( self , a , b , extrapolate = None ) Summary
Compute a definite integral over a piecewise polynomial.
Parameters
a: floatLower integration bound
b: floatUpper integration bound
extrapolate: {bool, 'periodic', None}, optionalIf bool, determines whether to extrapolate to out-of-bounds points based on first and last intervals, or to return NaNs. If 'periodic', periodic extrapolation is used. If None (default), use
self.extrapolate.
Returns
ig: array_likeDefinite integral of the piecewise polynomial over [a, b]
Aliases
-
scipy.interpolate.PPoly.integrate