Skip to main content

broyden_system

Function broyden_system 

Source
pub fn broyden_system<F>(
    f: F,
    x0: Vec<f64>,
    options: SystemOptions,
) -> Result<SystemRootResult, ErrorsJSL>
where F: Fn(&[f64]) -> Vec<f64>,
Expand description

Broyden’s method for F(x) = 0 from x0: the Jacobian estimate B (initially by finite differences) is corrected after each step by B ← B + ((Δf − B s) sᵀ) / (sᵀ s).