Skip to main content

JacFn

Type Alias JacFn 

Source
pub type JacFn<'a> = Box<dyn FnMut(&[f64], &mut [f64]) -> i32 + 'a>;
Expand description

Type-erased Jacobian closure: writes the n_res × n_coef Jacobian of the residuals at x into jac. Layout matches the AOCL "storage scheme" option (defaults to row-major). Return 0 on success.

Aliased Type§

pub struct JacFn<'a>(/* private fields */);