Expand description
Romberg integration.
Structs§
- Romberg
Engine - Romberg integration: trapezoid estimates with 1, 2, 4, … panels, combined by Richardson
extrapolation
R(k, j) = R(k, j−1) + (R(k, j−1) − R(k−1, j−1)) / (4^j − 1)to cancel the even powers of the step in the Euler-Maclaurin error expansion. Converges very fast for smooth integrands (rowkis exact for polynomials of degree2k + 1); for non-smooth or periodic integrands use an adaptive or plain trapezoid rule instead.