Function peroxide::numerical::integral::gauss_kronrod_quadrature

source ·
pub fn gauss_kronrod_quadrature<F, T, S, Y>(
    f: F,
    (a, b): (T, S),
    method: Integral,
) -> Y
where F: Fn(f64) -> Y + Copy, T: Into<f64>, S: Into<f64>, Y: GKIntegrable,
Expand description

Gauss Kronrod Quadrature

§Type

  • f, (a,b), method -> Y
    • Y implements GKIntegrable, like f64 or C64 (complex feature only)
    • f: Numerical function (Fn(f64) -> Y + Copy)
    • (a,b): Interval of integration
    • method: Integration method
      • G7K15(tol)

§Reference