peroxide::numerical::integral

Function gauss_kronrod_quadrature_optimized

Source
pub fn gauss_kronrod_quadrature_optimized<F, T, S, Y>(
    f: F,
    (a, b): (T, S),
    method: Integral,
) -> Y
where F: Fn(f64) -> Y, T: Into<f64>, S: Into<f64>, Y: GKIntegrable,