(
(
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