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

pub fn integrate_fixed<N: ComplexField>(
    left: N::RealField,
    right: N::RealField,
    f: fn(_: N::RealField) -> N,
    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.