Skip to main content

bisection

Function bisection 

Source
pub fn bisection(
    f: fn(f64) -> f64,
    a: f64,
    b: f64,
    tol: f64,
    max_iter: usize,
) -> f64