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.
- By default, certain semantically important heads are not inactivated. Common examples include List, Rule and Blank.
Examplesopen allclose all
Basic Examples (3)
Inactivate all symbols except Integrate in an expression:
Properties & Relations (6)
Inactivate replaces specific symbols with their inactive forms:
Activate replaces all instances of inactive symbols with their active forms:
Inactivate maintains symbols in inactive form and allows parts of expressions to be inactive:
Hold maintains expressions in unevaluated form, and all parts are inactive:
Compare an inactive expression with the corresponding FullForm:
Inactivate is an idempotent operator:
Using Replace at all levels can inactivate all heads in an expression: