expr: An expression represented as a quoted expression.
deriv: The derivative. See Details below.
derivEnv: The environment in which to store the setting.
Details
Both expr and deriv are treated as unevaluated expressions.
deriv should include the sum of derivatives with respect to all variables similar to a total derivative using D for the differential. See the examples below.