Expand description
Adaptive integration of vector-valued functions over finite or infinite intervals, a port of
SciPy’s quad_vec: every component shares one set of subintervals, chosen by a global
Gauss-Kronrod error estimate in the 2-norm (or the max norm).
See the book entry Vector integrands and weighted quadrature.
Structs§
- Quad
VecOptions - Options for
quad_vec(SciPy’s defaults). - Quad
VecResult - The result of
quad_vec.
Enums§
- VecNorm
- How the error of a vector of integrals is measured.
- VecRule
- The local rule applied to each subinterval.
Functions§
- quad_
vec ∫_a^b f(x) dxfor vector-valuedf(SciPy’squad_vec), with infinite limits allowed. The interval list starts from[a, b]split atpoints; each round pops the subintervals with the largest errors (up to 128, while their errors exceed all but an eighth of the tolerance) and bisects them, updating the global integral and error by the differences. It stops when the global error is belowmax(epsabs, epsrel ‖I‖)/8, or when it falls below the accumulated rounding error, or atlimitsubintervals. Infinite intervals are first mapped to[0, 1](x = a + (1 − t)/t) or[−1, 1](x = (1 − |t|)/t).