EasyManuals Logo
Home>IBM>Laptop>5100

IBM 5100 Apl Reference Manual

IBM 5100
228 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #71 background imageLoading...
Page #71 background image
(
(
('~,
e
ll,
/
The >Function: Greater Than [I)
Monadic (One-Argument) Form
There
is
no
monadic form.
Dyadic (Two-Argument) Form: Greater Than
A>B
The greater than function result
is
1 when argument A
is
greater than 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:
o
-'2>
0
o
.-
~.~
;:
....
~~
o
1
o
5,1
'-:1.
'-~3>~5,
1
o
'''1·1·
o o 1
If
one argument
is
a scalar or a single-element array, the shape of the result
is
the
same
as
tha,t
of the other argument. The
single
element
is
applied
to
every element
of the multielement array:
B~"2
~5
(.>
:1.
2
~3
1+
1'-
,'J
t.)
.f.{
1 2
-x
••
1
I~.
c'
..
}
6
3>B
1
1
0
0
0 0
Note: The result of the > function depends on the
OCT
system variable
(see
Chapter 5 for information on the
OCT
system variable).
67

Table of Contents

Other manuals for IBM 5100

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM 5100 and is the answer not in the manual?

IBM 5100 Specifications

General IconGeneral
BrandIBM
Model5100
CategoryLaptop
LanguageEnglish

Related product manuals