[][src]Macro symbolics_calculus::diff

macro_rules! diff {
    ($expr:expr, $($sym:ident),+) => { ... };
}

Differentiate an expression with respect to any amount of variables.

Examples

To take the derivative of y with respect to x: diff!(y, x)

To take the second derivative of x with respect to t: diff!(x, t, t)

To take the derivative of (s!(x) ^ 2) * (s!(y) ^ 3) with respect to x, then y: diff!((s!(x) ^ 2) * (s!(y) ^ 3), x, y)