pub fn least_squares<R, J>(
residual: R,
jacobian: J,
x: Vec<f64>,
plan: &LeastSquaresPlan,
) -> Result<LeastSquaresResult, Error>Expand description
Damped LM for unconstrained fits and trust-region reflective active-set steps for boxes.