numerical/integration library
Numerical integration utilities with high-quality composite rules.
Includes adaptive Simpson and Gauss–Legendre (fixed order) integrators. Implementations focus on numerical stability and performance for real-valued integrands and large-scale usage.
Example:
final integral = adaptiveSimpson((x) => x * x, 0.0, 1.0);