# +

Calculator Key: +

None
Argument Types:
Real
Complex
Integer
List
String
Symbol
Expression
Array
Result Type(s):
Real
Complex
Integer
List
String
Expression
Array
Invertible:
Yes
Valid In Expression:
Yes
Stack Diagram:
 Real1 Real2 → Real3 Complex1 Complex2 → Complex3 Real1 Complex2 → Complex3 Complex1 Real2 → Complex3 Integer1 Integer2 → Integer3 Real1 Integer2 → Integer3 Integer1 Real2 → Integer3 { List1 } { List2 } → { List1 List2 } { List1 } Item2 → { List1 Item2 } Item1 { List2 } → { Item1 List2 } String1 String2 → String3 Array1 Array2 → Array3 Symbol1 Symbol2 → Expression3 Expression1 Expression2 → Expression3

The add operation will take its two numerical operands and produce the sum as its result. It operates on reals, complex and integer values. Also, you can combine reals with complex values and reals with integer values. The result will be a complex or integer value respectively.

Two lists can be added and the result is a concatenation of the two lists. Also, you can add any item on the stack to a list. If the item is put on the stack first, then it will be prepended to the list. Otherwise, it will be appended to the list.

Finally, you can add strings to each other. The result is a concatenation of the two string values.

Matrices and vectors can be added together. A vector cannot be added to a matrix and vice versa. The number of rows and columns in the matrices must match. The vectors or matrices being added can be real, complex or a mixture of real and complex. The result will be a a vector or matrix of the same dimension as the input values with each corresponding value being the sum of the input values at that position.