bundles / scipy latest / scipy / interpolate / _fitpack_py / splint
function
scipy.interpolate._fitpack_py:splint
Signature
def splint ( a , b , tck , full_output = 0 ) Summary
Evaluate the definite integral of a B-spline between two given points.
Parameters
a, b: floatThe end-points of the integration interval.
tck: tuple or a BSpline instanceIf 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).full_output: int, optionalNon-zero to return optional output.
Returns
integral: floatThe resulting integral.
wrk: ndarrayAn array containing the integrals of the normalized B-splines defined on the set of knots. (Only returned if
full_outputis non-zero)
Notes
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 dev-arrayapi for more information.
Examples
Examples are given :ref:`in the tutorial <tutorial-interpolate_splXXX>`.See also
Aliases
-
scipy.interpolate.splint