bundles / scipy 1.17.1 / scipy / interpolate / _ppoly / integrate
fused_cython_function
scipy.interpolate._ppoly:integrate
Signature
def integrate ( c , x , a , b , extrapolate , out ) Summary
Compute integral over a piecewise polynomial.
Parameters
c: ndarray, shape (k, m, n)Coefficients local polynomials of order
k-1inmintervals.x: ndarray, shape (m+1,)Breakpoints of polynomials
a: doubleStart point of integration.
b: doubleEnd point of integration.
extrapolate: bint, optionalWhether to extrapolate to out-of-bounds points based on first and last intervals, or to return NaNs.
out: ndarray, shape (n,)Integral of the piecewise polynomial, assuming the polynomial is zero outside the range (x[0], x[-1]). This argument is modified in-place.
Aliases
-
scipy.interpolate._ppoly.integrate