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 #67 background imageLoading...
Page #67 background image
(:
c
C/
c
The v Function: Or
GJ
Monadic (One-Argument) Form
There
is
no monadic form.
Dyadic (Two-Argument) Form: Or A v B
The
or
function result
is
a 1 when either
or
both
arguments are 1; otherwise,
the
result
is
O.
The values
of
the
arguments must be 1 or
O.
The
arguments can be
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:
1vO
OvO
o
o
0 1
1vO
1 0 1
o 1 1 1
Operator
'"
Or Table
v
......
I----Argument
A
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:
B~··2
2pO
j.
0 1
B
0 1
()
1
lvB
j. j.
:1.
1
63

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