Skip to main content

diff

Function diff 

Source
pub fn diff(
    expr: ExprId,
    var: ExprId,
    pool: &ExprPool,
) -> Result<DerivedExpr<ExprId>, DiffError>
Expand description

Symbolically differentiate expr with respect to var.

The returned log records every rule applied, including post-differentiation simplification steps appended at the end.