Skip to main content

DiffRule

Type Alias DiffRule 

Source
pub type DiffRule = Box<dyn Fn(&[CasExpr], &Symbol) -> Option<CasExpr> + Send + Sync>;
Expand description

A custom differentiation rule: maps an operator’s arguments and the variable of differentiation to a derivative tree, or None to decline.

Aliased Type§

pub struct DiffRule(/* private fields */);