EasyManuals Logo
Home>IBM>Laptop>5100

IBM 5100 Basic Reference Manual

IBM 5100
187 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 #117 background imageLoading...
Page #117 background image
(
(
Example
For instance, in this example:
0290
USE
A(9,4), T, C
an
array (A)
with
nine rows
of
four
columns
each
is
assigned
to
the common
storage
area.
In addition, the
scalar
variables T
and
C
are
also
assigned
to
the
common storage
area.
MATRIX
OPERATIONS
In the 5100,
an
array
can
contain either numeric or character data, while a matrix
can
contain
only
numeric data. Before being
used
in
MAT
statements, arrays and
matrices must
have
been
previously defined, either
implicitly
or
explicitly
in a
DIM
or
USE
statement.
MAT
ASSIGNMENT STATEMENTS
MAT
assignment statements allow you
to
assign
values
to
elements
of
an
array. The
value
assigned
can
be
derived from any
of
the following array expressions.
Each
array expression
is
discussed
in detail later.
Array Expression
Meaning
(e)
Scalar value
A
Simple array
A+B
Matrix addition
A-B
Matrix subtraction
A*B
Matrix multiplication
(e)
* A
Scalar multiplication
IDN
Identity
function
INV
(A)
Inverse function
TRN
(A)
Transpose function
113

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