EasyManuals Logo

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 #116 background imageLoading...
Page #116 background image
112
When argument B
is
a multidimensional array,
the
[I] index
entry
is
used
to
specify
the
coordinate acted on. If
the
index
entry
is
omitted,
the
last coordinate (columns)
is
acted on.
If
the<D
tB
form
is
used,
the
first coordinate
is
acted on. Indexing along a
nonexistent coordinate will result
in
INDEX ERROR.
When argument B
is
a multidimensional array,
the
coordinate
of
argument B
that
is
acted
on
is
eliminated:
6
6
'-'
5
o
1
B~"2
:3pt
B
t
")
':
..
3
1+
I!:'
·,,1
f.)
+/B
j
I::'
"-
.•
J
---------The
last coordinate (columns)
is
assumed;
+ I
I::
2::1
B therefore,
the
reduction
is
between columns:
:1.5
'7
9
'7
9
+fB
~
1+2+3=6
+ I
I:
1.
::I
B The second
coordinate
(in this case, columns)
~
is
specified.
B~"2
:.~
4'P\21+~
B The first coordinate (rows)
is
specified;
1')
,.
...
~:~
lJ.
therefore,
the
reduction
is
between rows:
I!:'
''''
6
"l B
<'I
:1.0
:1.1.
1.2
2
3
11~.
1.
~.)
:L
6
:1.7
:LB
:1.9
20
5
§.
7
§.
9
21
22
23
24·
+/[:l.JB
:1.6
:L
B 2
o--------The
first
coordinate
22
21+
2(~)
20
~:~
0
32
3
1
4.
36
IH·
\ 0
B
+/1'3
::::/B
(planes)
is
specified;
therefore,
the
reduction
is
between planes.
riB
-'7
I
;?':37E7~.:i
If argument B
is
an array
that
has a coordinate whose dimension
is
zero,
then
reduc-
tion
along
that
coordinate yields an array whose elements are equal
to
the
identity
element
for
the
function.
The
identity
element
for
each function
is
given
in
the
preceding table.

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
Release Year1975
RAM16 KB - 64 KB
Storage204 KB tape drive
Display5-inch CRT
Operating SystemAPL/BASIC
ProcessorIBM PALM (1.9 MHz)

Related product manuals