[][src]Function bacon_sci::integrate::integrate_fixed

pub fn integrate_fixed<N: ComplexField, F: FnMut(N::RealField) -> N>(
    left: N::RealField,
    right: N::RealField,
    f: F,
    n: usize
) -> Result<N, String>

Numerically integrate a function over an interval.

Given a function and end points, numerically integrate using Romberg integration. Uses n steps.