Element by element greater than tests of two data objects
Syntax: @egt(m1,m2)
m1: numeric or alphanumeric object
m2: numeric or alphanumeric object
Return: vector or matrix object
Returns a test for whether the elements in the object m1 are greater than the corresponding elements in m2.
Each element of the returned matrix is equal to 1 or 0 depending on the outcome of the comparison.
Note m1 and m2 must be of identical dimensions.
Examples
Let X and Y be
matrices. Then
= @egt(X, Y)
returns an
binary matrix indicating places where X is greater Y.
Cross-references
See also
@eisna,
@ege,
@ele, and
@elt.