If true
, ["f", ["f", a], b]
simplifies to ["f", a, b]
Default: false
If true
, ["f", a, b]
equals ["f", b, a]
. The canonical
version of the function will order the arguments.
Default: false
If true
, ["f", ["f", x]]
simplifies to ["f", x]
.
Default: false
An inert function evaluates directly to one of its argument, typically the first one. They may be used to provide formating hints, but do not affect simplification or evaluation.
Default: false
If true
, ["f", ["f", x]]
simplifies to x
.
Default: false
All the arguments of a numeric function are numeric, and its value is numeric.
If true
, the value of this function is always the same for a given
set of arguments and it has no side effects.
An expression using this function is pure if the function and all its arguments are pure.
For example Sin
is pure, Random
isn't.
This information may be used to cache the value of expressions.
Default: true
If true
, the function is applied element by element to lists, matrices
(["List"]
or ["Tuple"]
expressions) and equations (relational
operators).
Default: false
A function definition can have some flags to indicate specific properties of the function.