(+) add operator

(+ number) 🡒 number

The unary no-op number operator, intended as the counterpart of the unary minus operator.

Example:

x = 3
show scalar "" with +x

(number + number) 🡒 number

The regular addition of numbers.

Example:

x = 3 + 4
show scalar "" with x

(date + number) 🡒 date

Adds an integral number of days to a date.

Example:

x = date(2020,8,25) + 12
show scalar "" with x

(number + date) 🡒 date

The sum (n + d) where n is a number and d is a date is defined by (d + n).

Example:

x = 12 + date(2020,8,25)
show scalar "" with x

(ranvar + ranvar) 🡒 ranvar

The addition of ranvars, random variables over $\mathbb{Z}$ assumed to be independent.

Example:

x = poisson(3) + poisson(4)
show scalar "" with x

(zedfunc + zedfunc) 🡒 zedfunc

The addition of zedfuncs, real functions over $\mathbb{Z}$.

Example:

x = linear(2) + linear(-1)
show scalar "" with x

Seealso