This is documentation for an old release of SciPy (version 1.8.1). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.interpolate.BSpline.antiderivative#

BSpline.antiderivative(nu=1)[source]#

Return a B-spline representing the antiderivative.

Parameters
nuint, optional

Antiderivative order. Default is 1.

Returns
bBSpline object

A new instance representing the antiderivative.

See also

splder, splantider

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.