Skip to main content

secant

Function secant 

Source
pub fn secant(cfg: &Solver1d, f: impl Fn(f64) -> f64, x0: f64, x1: f64) -> Root
Expand description

Secant iteration from two starting points.