Macro peroxide::secant

source ·
macro_rules! secant {
    ($f:expr, ($a:expr, $b:expr), $max_iter:expr, $tol:expr) => { ... };
}
Expand description

High level macro for secant

§Arguments

  • f: Fn(f64) -> f64 (allow closure)
  • (a, b): (f64, f64)
  • max_iter: usize
  • tol: f64