Skip to main content

least_squares

Function least_squares 

Source
pub fn least_squares<R, J>(
    residual: R,
    jacobian: J,
    x: Vec<f64>,
    plan: &LeastSquaresPlan,
) -> Result<LeastSquaresResult, Error>
where R: Fn(&[f64]) -> Vec<f64>, J: Fn(&[f64]) -> Vec<Vec<f64>>,
Expand description

Damped LM for unconstrained fits and trust-region reflective active-set steps for boxes.