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 #115 background imageLoading...
Page #115 background image
(
(
(
(
"
./
(I
c
APL OPERATORS
An
APL
operator
applies
one
or
more
dyadic
primitive scalar
functions
to
arrays.
The
operators
are
reduction, inner product, outer product,
and
scan.
Reduction Operator If)
CD
The
symbol
for
the
reduction
operator
is
I.
The
forms
of
reduction
are:
(DIU]
B
or
CD/B
orC!),£B,
where(f)can
be
any
primitive
dyadic
scalar
function
that
is
applied
between
each
of
the
elements
of
a single vector.
The
rank 'of
the
result
is
one
less
than
the
rank
of
argument
B,
unless
argument
B
is
a scalar
or
a single-element vector;
then
the
result
is
the
value
of
the
single
element
of
argument
B.
When
argument
B
is
a vector,
the
reduction
of
that
vector
is
the
same
as
putting
the
primitive
dyadic
function
between
each
of
the
elements:
10
10
Bf-:1.
2 3
1+
+/B
If
argument
B
is
an
empty
vector
(see
Chapter
3),
then
the
result
is
the
identity
element,
if
one
exists, for
the
specified
function.
The
identity
elements
are listed
in
the
following
table:
Identity
Element
Table
Dyadic
Function
Times
Plus
Divide
Minus
Power
Logarithm
Maximum
Minimum
Residue
Circular
Binominal
Or
And
Nor
Nand
Equal
to
Not
equal
to
Greater
than
Not
less
than
Less
than
Not
greater
than
x
+
*
~
r
L
I
o
!
v
/I.
V
A
>
~
<
~
Identity
Element
1
o
1
o
1
-7.237
...
E75
o
1
o
1
7.237
...
E75
1 )
o I
Apply
for
o
~
logical
1
~
arguments
~,
only
111

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