peroxide::numerical::integral

Function newton_cotes_quadrature

Source
pub fn newton_cotes_quadrature<F, Y>(f: F, n: usize, (a, b): (f64, f64)) -> Y
where F: Fn(f64) -> Y, Y: NCIntegrable,
Expand description

Newton Cotes Quadrature