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.
ADDx+y
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).
Subtract
href="http://www.vanguardsw.com/dphelp4/dph00365.htm">x-y
The Subtract operator
subtracts y from x. The minus symbol is also used to enter negative numbers (e.g.,
-5).
href="http://www.vanguardsw.com/dphelp4/dph00350.htm">Multiply
x*y
The
Multiply operator calculates the product of x and
y.
Implied
multiply
href="http://www.vanguardsw.com/dphelp4/dph00338.htm">kx
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
No comments:
Post a Comment