Expand description
Multidimensional integration over hyperrectangles: tensor-product Gauss-Legendre rules and globally adaptive Genz-Malik cubature.
See the book entry Multidimensional cubature.
Structs§
- Cubature
Options - Options for
adaptive_cubature. - Cubature
Result - The outcome of a cubature.
Functions§
- adaptive_
cubature - Globally adaptive cubature over a hyperrectangle with the Genz-Malik degree-7 rule
(
2ⁿ + 2n² + 2n + 1points per region) and its embedded degree-5 rule for error estimation. The region with the largest error is repeatedly bisected along the axis with the largest fourth divided difference, until the summed error meetsmax(absolute, relative · |value|)or the evaluation budget is spent. Suited to smooth integrands in two to about ten dimensions; for higher dimensions use quasi-Monte Carlo. - tensor_
gauss_ legendre - The tensor-product Gauss-Legendre rule with
points_per_axisnodes along every axis: exact for polynomials of degree2·points − 1in each variable, at a cost ofpointsᵈevaluations (practical up to about five dimensions).