kristina0785 | Student

Math operators are used to perform basic arithmetic calculation involving numbers. Almost all of these operators will accept real numbers, complex numbers, and matrices as operands.

The following sections describe the function of each operator.


The Add operator calculates the sum of x and y. The plus symbol can also be used to indicate the sign of a numeric literal (e.g., +5).



The Subtract operator subtracts y from x. The minus symbol is also used to enter negative numbers (e.g., -5).

Multiply x*y

The Multiply operator calculates the product of x and y.


Implied multiply


Implied Multiply is not really an operator--instead it is the absence of an operator. For example, the expression 5x is treated the same as 5*x. In order to use the Implied Multiply function, k must be a numeric literal and x must be a variable, primitive, or node name.

MAny more