replaces all instances of f with Inactive[f] for symbols f used as heads in expr.
inactivates all symbols in expr that match the pattern patt.
Details and Options
- Inactivate has attribute HoldFirst, and symbols in expr are inactivated before evaluation.
- With the option setting Heads->False, Inactivate does not enter heads of expressions and inactivate their parts.
Basic Examples (3)
Inactivate an expression:
Inactivate an expression with several terms:
Activate different parts of the expression:
Inactivate a symbol in an expression:
Evaluate the expression:
Properties & Relations (5)
Introduced in 2014