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 #41 background imageLoading...
Page #41 background image
(~:
c~
(".,
-
./
("
(~
CATENATION
You can join
together
two
arrays
to
make a single array by using
the
catenation
function. The symbol
for
this
function
is
the
comma. When catenating vectors,
or scalars and vectors,
the
variables are joined
in
the
order
in which
they
are speci-
fied,
as
the
following examples show:
A~~
1.
:~
:3
I.~
Bi"'+
5 6
A,B
:l
2
:3
'+
'+
1::'
\.1
6
B,A
q.
~:;
6
1.
2
:.:~
q.
(4,2
:1.
2 3
'+
2
3/A
3
1-
'1
r:M
3
1+
When catenating
two
matrices
or
N-rank arrays,
the
function
can
take
the
form
A,[I]B, where I defines
the
coordinate
that
will be
expanded
when
A
and
B are joined.
If
the
coordinate
is
not
specified,
the
last coordinate
is
used. When A
and
Bare
matrices and [I]
is
[1],
the
first coordinate (number
of
rows)
is
expanded; when [I]
is
[2],
the
last
coordinate
(number
of
columns)
is
expanded.
The
following examples
show
how
to
catenate
matrices:
Graphic
Representation
A B
Ai"2
:3~):1.
0
20
:3
()
4·0
!!.!j
0
<~)
0
10
20
30
11
22
-
B~"2
3(-1l.:1.
22
:3:3
1.1.
1
+
"':'I:!'
66
40
50
60
44
55
,.J ,.J
A,B
1.0
20
30
1:1.
,')
")
Lot!.
33
A
B
'+0
~!50
60
'+'+
55
66
10
20
30
11
22
33
A/[2:JB
40
50
60
44
55
66
10
~~
()
30
:1.1
22
33
4·0
~7j
0
60
'+'+
55
66
A/[lJB
A
10
20
30
10
20
30
40
50
60
I.~O
~5
()
60
,
1.1-
"")
")
I!.
A-_
:3~1
B
11
22
33
1+'+
1::-1::'
..
J ,.J
66
44
55
66
33
66
37

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