EasyManuals Logo

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 #130 background imageLoading...
Page #130 background image
MAT
matrix-name [(rows, columns)] = INV (matrix-name)
126
MAT ASSIGNMENT (INVERSE FUNCTION)
This statement allows you
to
assign
the
mathematical matrix inverse
of
one
matrix
to
another
matrix. The syntax
of
the
statement
is
as
shown:
MAT matrix-name [(rows, columns)]
= INV (matrix-name)
where:
all parameters are
the
same
as
those for
other
MAT
assignment statements, and
IN\I'$pecifies
the
inverse function.
The matrix inverse
of
the
matrix specified
to
the
right
of
the
equal sign
is
assigned
to
the
matrix specified
to
the
left
ofthe
equal sign. For
the
square matrix A
of
dimensions (m,m),
the
inverse matrix
B,
if
it
exists,
is
a matrix
of
identical dimen-
sions such
that:
A*B = B*A = I
where I
is
an identity matrix.
Not every matrix has an inverse. The system function DET (see
System Functions)
can be used
to
determine if a given matrix has an inverse. The inverse
of
matrix A
exists if DET(A)
'*
O.
If
redimension specifications follow
the
matrix name
to
the
left
of
the
equal sign,
the
truncated integer portion
of
each expression value
in
rows, columns
is
used
to
redimension
the
matrix before values.are assigned
to
it.
Notes
About
MAT
(Inverse Function)
Both matrices specified must be numeric.
Both matrices specified must
be
square, and both must have identical dimensions
(after redimensioning,
if
any).
The determinant
is
considered zero if
the
result
is
1
E-20
or
less.
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
Release Year1975
RAM16 KB - 64 KB
Storage204 KB tape drive
Display5-inch CRT
Operating SystemAPL/BASIC
ProcessorIBM PALM (1.9 MHz)

Related product manuals