Skip to main content

FindRoot

Trait FindRoot 

Source
pub trait FindRoot<F>
where F: Callback,
{ // Required method fn find(&self, f: F, initial_guess: f64) -> Result<f64, RootFinderError>; }
Expand description

Finds a root of f starting from an initial guess.

Required Methods§

Source

fn find(&self, f: F, initial_guess: f64) -> Result<f64, RootFinderError>

Finds a root of f starting from initial_guess.

Implementors§

Source§

impl<F> FindRoot<F> for Secant
where F: Callback,

Source§

impl<F> FindRoot<F> for Steffensen
where F: Callback,