splint
- scipy.interpolate.splint(a, b, tck, full_output=0)
Evaluate the definite integral of a B-spline between two given points.
Evaluate the definite integral of a B-spline between two given points.
BSplineintegrateThe end-points of the integration interval.
If a tuple, then it should be a sequence of length 3, containing the
vector of knots, the B-spline coefficients, and the degree of the
spline (see splev).
Non-zero to return optional output.
The resulting integral.
An array containing the integrals of the normalized B-splines defined on the set of knots. (Only returned if full_output is non-zero)
splint silently assumes that the spline function is zero outside the data
interval (a, b).
Manipulating the tck-tuples directly is not recommended. In new code,
prefer using the BSpline objects.
Array API Standard Support
splint is not in-scope for support of Python Array API Standard compatible
backends other than NumPy.
See Support for the array API standard for more information.
P.W. Gaffney, The calculation of indefinite integrals of b-splines”, J. Inst. Maths Applics, 17, p.37-41, 1976.
P. Dierckx, “Curve and surface fitting with splines”, Monographs on Numerical Analysis, Oxford University Press, 1993.
Examples are given in the tutorial.