<< Click to Display Table of Contents >> Arithmetic Operators 

The following customary symbols can be use in arithmetic expressions:
Operator 
Action 
 
Unary negate, Forms the negative of a single operand 
+ 
Binary add, Forms the sum of two operands 
 
Binary subtract, Forms the difference of two operands 
* 
Binary multiply, Forms the product of two operands 
/ 
Binary divide, Divides the first operand by the second 
^ 
Binary power, Raises the first operand to the power of the second 
These operators can be applied to scalars, arrays or matrices. When used with arrays or matrices, the operations are applied elementbyelement.
Special operators are defined to designate conventional matrix and array operations.
Operator 
Action 
** 
Binary MATRIX multiply. Forms the product of two matrices or the product of a MATRIX and an ARRAY. Applied to tensors, the result is the same as the DOT operator. 
// 
Matrix "division". A1 = A2 // M produces the ARRAY A1 satisfying the equation A2 = M**A1. 