Function peroxide::numerical::integral::gauss_legendre_quadrature
source · pub fn gauss_legendre_quadrature<F, Y>(f: F, n: usize, (a, b): (f64, f64)) -> Y
Expand description
Gauss Legendre Quadrature
§Type
f, n, (a,b) -> Y
Y
implementsGLKIntegrable
, likef64
orC64
(complex
feature only)f
: Numerical function (Fn(f64) -> Y
)n
: Order of Legendre polynomial (up to 16)(a,b)
: Interval of integration
§Reference
- A. N. Lowan et al. (1942)