pub fn differentiate(expr: &Expression, var: &Expression) -> ExpressionExpand description
Compute the derivative of an expression with respect to a variable.
This implements symbolic differentiation using the chain rule, product rule, quotient rule, and standard derivative formulas.