Skip to main content

Questions on attributes of functions.

Questions on attributes of functions in Mathematica. This includes choosing the appropriate attributes for a task and also setting (SetAttributes, Protect), querying (Attributes) and removing attibutes (ClearAttributes, Unprotect) of functions. Attributes can control argument evaluation (HoldFirst, HoldRest, HoldAll, etc.), protect function definition (ReadProtected, Protected and Locked), specify argument listability (Listable), commutativity (Orderless), associativity (Flat), pattern equivalency (OneIdentity), and other numeric properties (Constant, NumericFunction).

General questions on how to define functions should use the tag .

Useful links: