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 #128 background imageLoading...
Page #128 background image
I
MAT
matrix-name [(rows, columns)] =
ION
124
',.
MAT ASSIGNMENT (IDENTITY FUNCTION)
This statement allows you
to
make a numeric matrix assume
the
form
of
an identity
matrix_ The syntax
of
the
statement
is
as
shown:
MAT
matrix-name [(rows, columns)] =
ION
where:
all
the parameters are the same as those for other
MAT
assignment statements,
and
ION
specifies identity matrix.
Each element
of
the
specified matrix for which
the
values
of
both subscripts are
equal, for example, A(2,2)
or
A(3,3),
is
assigned
the
integer value 1. All
other
elements, for example A(2,3)
or
A(3, 1), are assigned
the
value
O.
If redimension specifications follow the matrix name, the truncated integer portion
of
each expression value
in
rows, columns
is
used
to
redimension
the
matrix before
the assignment
of
1
or
0
to
each
of
its elements.
Notes
About
MAT (Identity Function)
The matrix specified must be numeric.
The specified numeric matrix must be a square matrix;
that
is,
the
number
of
rows
must equal
the
number
of
columns (after redimensioning, if any)_
If
redimension specifications are included,
the
rules under Redimensioning Arrays,
Chapter 3, must be followed.
/

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