root_anderson

Function root_anderson 

Source
pub fn root_anderson<F, J, S>(
    func: F,
    x0: &ArrayBase<S, Ix1>,
    _jacobian_fn: Option<J>,
    options: &Options,
) -> OptimizeResult<OptimizeResults<f64>>
where F: Fn(&[f64]) -> Array1<f64>, J: Fn(&[f64]) -> Array2<f64>, S: Data<Elem = f64>,
Expand description

Implements Anderson mixing method for root finding

Anderson mixing is an acceleration technique that combines the current and previous iterates to accelerate convergence. It can be viewed as a type of multisecant quasi-Newton method that uses information from multiple previous iterations.