Skip to main content

jacobian

Function jacobian 

Source
pub fn jacobian(
    f: impl Fn(&[f64]) -> Vec<f64>,
    x: &[f64],
    options: DerivativeOptions,
) -> Result<(Vec<Vec<f64>>, f64), ErrorsJSL>
Expand description

The Jacobian Jᵢⱼ = ∂fᵢ/∂xⱼ of f: ℝⁿ → ℝᵐ, each column by Ridders’ method on the coordinate direction (as scipy.differentiate.jacobian), with the largest error estimate.