Real Matrices And Vectors - HP RPN SCIENTIFIC WP 34S Owner's Manual

Table of Contents

Advertisement

Real Matrices and Vectors

Numbers arranged in table-like grids are called matrices by mathematicians.
If you do not know of matrices yet, feel free to set them aside – you can use your
WP 34S perfectly without them.
If you know of matrices, however, note your WP 34S features a set of operations for
adding, multiplying, inverting and transposing matrices, as well as for manipulating rows
in such matrices. In general, the respective commands are building blocks designed to
provide the low level support routines for creating more useful matrix functions in the
form of keystroke programs. I.e. they represent the basic linear algebra subprograms of
the WP 34S matrix support. On the other hand, your WP 34S also provides functions for
computing determinants or for solving systems of linear equations.
A matrix is represented within your WP 34S by its descriptor, formatted bb.rrcc with
rr being the number of rows and
cc the number of columns it features. Thus this matrix has rr × cc elements.
These elements are stored in consecutive registers starting at base address |bb| .
Example: A descriptor 7.0203 represents a 2×3 matrix – let us call it (M). As
you know, its six elements are arranged in two rows and three columns, and
they are numbered as follows:
The matrix descriptor 7.0203 tells you where the values of these elements are
stored:
Depending on the current contents of these registers, the actual matrix may
look like this:
If cc is omitted in a descriptor it defaults to rr so a square matrix is assumed. For
example, a descriptor 13.0400 belongs to a 4×4 matrix with its elements stored in R13
through R28. The maximum number of matrix elements is 100 – it is the number of
general purpose registers available for such a task.
See the
IOP
and the
ATTENTION: Your WP 34S cannot know whether a particular real number is a
matrix descriptor or a plain number. It is your task to take care of that.
A vector may be regarded as a special case of a matrix featuring either one row or one
column only. Thus, a vector descriptor looks like
routines are readily provided for 3D vector calculus.
WP 34S Owner's Manual
catalog MATRIX
for all commands featured.
bb.01cc or
Edition 3.1
, for example.
bb.rr01 . Library
Page 28 of 211

Advertisement

Table of Contents
loading

Table of Contents