Plus
represents the sum of the terms
a, b, ...
.
Note: the Plus
operator has the attribute Flat
(associative property), Orderless
(commutative property), OneIdentity
and Listable
.
Examples
Plus
performs basic simplification of terms:
Apply Plus
on a list to sum up its elements:
The sum of the first 1000
integers:
Plus
has default value 0
:
Related terms
Flat, Listable, OneIdentity, Orderless
Implementation status
- ✅ - full supported