Skip to main content

marginal_harm

Function marginal_harm 

Source
pub fn marginal_harm(harm_expr: &str, wrt: &str, at: f64) -> Option<f64>
Expand description

The marginal harm d/d(wrt) harm_expr evaluated at at — parses + differentiates + evaluates via symbolic_algebra. None if the expression won’t parse/evaluate.