pub type ResFn<'a> = Box<dyn FnMut(&[f64], &mut [f64]) -> i32 + 'a>;Expand description
Type-erased residual closure: maps coefficients x of length n_coef
to residuals res of length n_res. Return 0 on success or non-zero
to signal an evaluation failure (the solver will return an error).
Aliased Typeยง
pub struct ResFn<'a>(/* private fields */);