Skip to main content

jacobian

Function jacobian 

Source
pub fn jacobian<const M: usize, const N: usize, F>(
    function: F,
    point: Vector<N>,
) -> Result<LinearMap<M, N>, AnalysisError>
where F: Fn(Vector<N>) -> Vector<M>,
Expand description

M×N Jacobian of f by central finite differences per input column, step EPSILON^(1/3) · (1+|x_j|). InvalidDomain on non-finite values.