HP 38g Graphing Calculator User Manual
Page 171
Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".
RANDMAT Creates random matrix with number of rows and columns you
specify in
r o w s , c o lu m n s ,
and stores the result in
n a m e
(name must be
MO . . . M9).
The entries will be integers ranging
from -9 to 9.
RANDMAT
n a m e ; r o w s ;c o lu m n s
Exan®>le: RANDMAT M 2 ; 3 ; 4 :
EDITMAT М2:
Creates a Matrix in М2 with 3 rows and 4 columns; then
starts the Matrix Editor and displays matrix М2.
MS
1
2
3
4
1
-2
2
0
г
3
-5
-?
3
-Ч
г
s
*
-5
1^дшя™1а)И||К1иам11
REDIM
Redimensions the specified matrix to
s iz e .
For a matrix,
s iz e
is a
list of two integers
{ n l,n 2 } .
For a vector,
s iz e
is a list containing
one integer {n}.
REDIM
n a m e ; {s iz e }
REPLACE Replaces portion of matrix or vector stored in
n a m e
with
another starting at position
s ta r t. S ta r t
for a matrix is a list
containing two numbers; for a vector, it is a single number.
Replace also works for lists and graphics.
REPLACE
n a m e ; s ta r t;o b je c t
SCALE
Multiplies the specified
r o w jm m b e r
of the specified matrix by
v a lu e .
SCALE
n a m e ;v a lu e ;r o w _ n u m b e r
SCALEADD Multiplies the first specified row of the matrix in
n a m e
by
v a lu e ,
then adds this result to the second specified row, and stores the
result in
n a m e .
SCALEADD
n a m e ; v a lu e ;r o w l; r o w 2
Programming 8-19