Expand description
Tanh-sinh (double exponential) quadrature.
Structs§
- Tanh
Sinh Engine - Integrates over a finite interval with the substitution
x = tanh(π/2 · sinh t)(Takahasi and Mori), which makes the transformed integrand decay double exponentially and lets the trapezoid rule intconverge exponentially fast, even for integrable endpoint singularities such as1/√xorln x. The step is halved each level (reusing earlier points) until two successive estimates agree to the tolerance.