Dyadic (Two-Argument) Form: Minus A-8
The minus function subtracts argument B from argument A. The arguments can be
numeric scalars, vectors, or other arrays. The arguments must be the same shape un-
less one of the arguments is a scalar or any single-element array. If the arguments
are the same shape, the result has the same shape as the arguments:
If one argument is a scalar or a single-element array, the shape of the result is the
same as that of the other input argument. The single element is applied to every
element of the multielement array:
a
The x Function: Signum, Times
Monadic (One-Argument) Form: Signum' XB
The signum function indicates the sjgn of the argument: if the argument is negative,
1 is the result; if the argument is zero, then 0 is the result; if the argument is posi-
tive, 1 is the result. The argument can be a numeric scalar, vector, or other array.
The shape of the result is the same as that of the argument:
-
46
il
i
If the argument is an array, the function is extended to each of the elements:
Dyadic (Two-Argument) Form: Times AxB
The times function result is the product of argument A times argument 6. The
arguments can be numeric scalars, vectors, or other arrays. The arguments must be
the same shape, unless one of the arguments is a scalar or any single-element array.
Arguments of the same shape have the same shape result:
2 x 2 I :I.
3 x "'b
4. I 2
-18
If one argument is a scalar or a single-element array, the shape of the result is the
same as that of the other input argument. The single element is applied to every
element of the multielement array:
47
Previous Page Next Page