Skip to main content

gradient_at

Function gradient_at 

Source
pub fn gradient_at(
    expr: &Expr,
    vars: &[&str],
    point: &HashMap<String, f64>,
) -> Option<Vec<f64>>
Expand description

Evaluate the gradient numerically at point (variable → value). None if any partial fails to evaluate there (e.g. a division by zero in the domain).