pub fn integrate_scalar<F>( f: F, a: f64, b: f64, tolerance: Tolerance, ) -> Result<f64, CoreError>where F: FnMut(f64) -> f64,
Integrates the scalar f over [a, b] to tolerance; see integrate.
f
[a, b]
tolerance
integrate
As integrate.