Skip to main content

brent

Function brent 

Source
pub fn brent(f: impl Fn(f64) -> f64, a: f64, b: f64, tol: f64) -> Option<f64>
Expand description

Brent’s method — superlinear convergence without derivative. Requires f(a)*f(b) <= 0.