Struct rootfind::convergence::FnResidual [] [src]

pub struct FnResidual { /* fields omitted */ }

FnResidual converges when the residual is small: |f(x_cur)| < epsilon_abs.

Be aware that convergence can happen far from the actual root. For example, f(x)=-1e-7x+0.01 has the root at 100000, but with an epsilon_abs of 1e-3 we would converge anywhere in the range [90000, 110000].

Methods

impl FnResidual
[src]

[src]

Trait Implementations

impl IsConverged for FnResidual
[src]

[src]

Indicate whether root-finding has converged. Read more