+ -- a unary or binary operator, usually used for addition
Synopsis
Usage:
+y x+y
Description
In most cases, this operator refers to standard addition.
In many cases, the integer 1 can be used as the identity, and scalars function as multiples of the identity. For example, the 1 below refers to the identity matrix and the 2 to twice the identity matrix.
This operator may be used as a binary operator in an expression like x+y. The user may install binary methods for handling such expressions with code such as
X + Y := (x,y) -> ...
where X is the class of x and Y is the class of y.
This operator may be used as a prefix unary operator in an expression like +y. The user may install a method for handling such expressions with code such as