+ , - , * , / , ^ .

Arithmetic


Arithmetic operations

Standard math library
Calling Sequence:
x+y (precedence 6)
+x
x-y (precedence 5)
-x
x*y (precedence 3)
x/y (precedence 3)
x^y (precedence 2)
Parameters:
x and y - some objects for which arithmetic operations are defined.
Description:
These are the basic arithmetic operations. They can work on integers, rational numbers, complex numbers, vectors, matrices and lists.
These operators are implemented in the standard math library (as opposed to being built-in). This means that they can be extended by the user.
Examples:
In> 2+3
Out> 5;
In> 2*3
Out> 6;
See Also: