(
c
--"'
The,;
Function:
Less
Than
or
Equal
To
[~
)
Monadic (One-Argument) Form
There
is
no
monadic form.
Dyadic (Two-Argument) Form:
Less
Than
or
Equal To
A~
B
The less than
or
equal to function result
is
1 when argument A
is
less
than or equal
to
argument
B;
otherwise, the result
is
O.
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:
:I.
:I.
:I.
0
-::···"
.,.
JIO..
o
5.1-
1
o 0
If
one argument
is
a scalar or a single-element array, the shape of the result
is
the
same
as
that of the other argument. The
single
element
is
applied to every element
of the multielement array:
r.{~~·2
3p:J.
2
:3
ll·
~5
I.)
13
1
2 3
I.~
5 6
3~;B
0
0
1
:I.
1
1.
Note: The result of the
~
function depends on the
OCT
system variable
(see
Chapter
5 for information on the
OCT
system variable).
71