Home
IBM
Laptop
5100
IBM 5100 Apl Reference Manual
5
of 1
of 1 rating
228 pages
Give review
Manual
Specs
To Next Page
To Next Page
To Previous Page
To Previous Page
Loading...
(
(
(
,,,
/
Finding
the
Shape
of
An
Array
Once
you
have
generated
an
array,
you
can
find
its
shape
(number
of
elements
in
each
coordinate)
by
specifying
p
(shape
function)
with
only
a
right
argument
which
is
the
name
of
the
array.
If
A
is
a
vector
with
six
elements
and
you
enter
pA,
the
re-
sult
is
one
number
because
A
is
a
one-dimensional
array.
The
number
is
6,
the
length
(number
of
elements)
of
A's
one
dimension.
The
result
of
the
shape
function
is
always
a
vector:
A~111
222
333
444
555
666
~)
(.1
The
shape
of
a
matrix
or
N-rank
array
is
found
the
same
way:
123
M~2
3p1
2
3
1+
5
6
M
'+
5
6
~)M
2
3
'i
.:..
R~2
3
4pi
2
3
1+
5
6
7
B
R
12~3ll·
~5
6
·7
B
1
2
3
Lt·
~5
6
"7
B
1
2
3
Lt·
~.)
t)
"7
B
pR
3
4
I
n
some
cases,
it
might
be
necessary
to
know
just
the
rank,
the
number
of
coordi-
nates
(or
indice~)
of
an
array.
The
rank
can
be
found
by
entering
pp
(shape
of
the
shape)
and
a
right
argument,
which
is
the
name
of
the
array:
Ai-lll
222
~5~53
4'+'+
Bf·2
3p1
2
3
'+
~i
6
Ci-2
~3
I.~~)
1
:~
3
,+
~)
(jA
6
ppA
1
pH
2
3
p(jB
2
pC
2
3
1+
ppC
3
35
38
40
Table of Contents
Default Chapter
3
Table of Contents
3
Chapter 1 . Operation
6
Display Screen
6
Switches
6
Power on or Restart Procedures
6
Display Screen Control
7
Keyboard
9
Attention
9
Hold
10
Execute
10
Command
10
Positioning the Cursor and Information on the Display Screen
10
Copy Display
12
Indicator Lights
12
Process Check
12
In Process
13
Chapter 2. System Commands
14
System Overview
14
System Command Descriptions
14
The )CLEAR Command
17
The )CONTINUE Command
17
The )COPY Command
18
The )DROP Command
19
I the )ERASE Command
19
The )FNS Command
20
The )LIB Command
20
The) LOA D Command
22
The )MARK Command
22
The )MODE Command
24
The )OUTSEL Command
24
The )PATCH Command
25
The) PCOPY Command
29
The )REWIND Command
30
The )SAVE Command
30
The )Sf Command
31
The )SIV Command
31
The )SYMBOLS Command
32
The )VARS Command
33
The )WSID Command
33
Chapter 3. Data
34
Variables
34
Data Representation
34
Numbers
34
Scaled Representation (Scientific Notation)
35
Character Constants
35
Logical Data
36
Scalar
36
Arrays
36
Generating Arrays
37
Finding the Shape of an Array
39
Empty Arrays
40
Catenation
41
Indexing
43
Chapter 4. Primitive (Built-In) Functions
47
Primitive Scalar Functions
47
The + Function: Conjugate, Plus
48
The - Function: Negation, Minus
49
The X Function: Signum, Times
50
The"," Function: Reciprocal, Divide
52
Function: Ceiling, Maximum
53
The L Function: Floor, Minimum
55
The I Function: Magnitude, Residue
56
The * Function: Exponential, Power 54
58
The ~ Function: Natural Log, Logarithm
59
The 0 Function: Pi Times, Circular
60
The! Function: Factorial, Binomial
63
The? Function: Roll
65
The Function: and
66
The V Function: or
67
The'" Function: Not
68
The Afunction: Nand
69
The Vfunction: nor
70
The> Function: Greater than
71
The = Function: Equal to
72
The < Function: Less than
73
The Function: Greater than or Equal to
74
The,; Function: Less than or Equal to
75
The Function: Not Equal to
76
Primitive Mixed Functions
77
The P Function: Shape, Reshape (Structure)
79
The, Function: Rpvel, Catenate, Laminate
81
The Function: Compress
85
The \ Function: Expand
86
The Function: Grade up
87
The 'F Function: Grade down
88
Function: Drop
91
The 1 Function: Index Generator, Index of
92
The ¢ Function: Reverse, Rotate
93
The ~ Function: Transpose, Generalized Transpose
97
The? Function: Deal
99
The 1. Function: Decode (Base Value)
100
The T Function: Encode (Representation)
103
The E Function: Membership
108
The .T Function: Execute
111
The ~ Function: Format
112
APL Operators
115
Reduction Operator (I)
115
Inner Product Operator
117
Outer Product Operator (0 .)
120
Scan Operator
122
Special Symbols
124
Assignment Arrow
124
Branch Arrow -)
125
Quad Quote [!]
126
Comment R
126
Parentheses ( )
126
Other manuals for IBM 5100
Maintenance Information Manual
389 pages
Maintenance Information
388 pages
Basic Reference Manual
187 pages
Communications Manual
54 pages
Maintenance Analysis Procedures
136 pages
5
Based on 1 rating
Ask a question
Give review
Questions and Answers:
Need help?
Do you have a question about the IBM 5100 and is the answer not in the manual?
Ask a question
IBM 5100 Specifications
General
Release Year
1975
RAM
16 KB - 64 KB
Storage
204 KB tape drive
Display
5-inch CRT
Operating System
APL/BASIC
Processor
IBM PALM (1.9 MHz)
Related product manuals
IBM ThinkPad 560
717 pages
IBM Laptop
2 pages
IBM A Series
83 pages
IBM THINKPAD T61
8 pages
IBM ThinkPad 310
120 pages
IBM ThinkPad T21
182 pages
IBM THINKPAD A20M
66 pages
IBM ThinkPad 600e
222 pages
IBM ThinkPad 380XD
222 pages
IBM ThinkPad A22m 2628
140 pages
IBM ThinkPad R40 series
36 pages
IBM ThinkPad T40 series
27 pages