bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / interpolate / _interpolate / BPoly / antiderivative
function
scipy.interpolate._interpolate:BPoly.antiderivative
source: build-install/usr/lib/python3.14/site-packages/scipy/interpolate/_interpolate.py:2131
Signature
def antiderivative(self, nu = 1)Summary
Construct a new piecewise polynomial representing the antiderivative.
Parameters
nu: int, optionalOrder of antiderivative to evaluate. Default is 1, i.e., compute the first integral. If negative, the derivative is returned.
Returns
bp: BPolyPiecewise polynomial of order k + nu representing the antiderivative of this polynomial.
Notes
If antiderivative is computed and self.extrapolate='periodic', it will be set to False for the returned instance. This is done because the antiderivative is no longer periodic and its correct evaluation outside of the initially given x interval is difficult.
Aliases
scipy.interpolate.BPoly.antiderivative