Delcol, Delrow, Editmat – HP 39g+ User Manual
Page 234: Randmat, Redim, Replace, Scale, Scaleadd

16-24
Programming
DELCOL
Delete Column. Deletes the specified column from the
specified matrix.
DELCOL
name;column_number:
DELROW
Delete Row. Deletes the specified row from the specified
matrix.
DELROW
name;row_number:
EDITMAT
Starts the Matrix Editor and displays the specified matrix.
If used in programming, returns to the program when user
presses .
EDITMAT
name:
RANDMAT
Creates random matrix with a specified number of rows
and columns and stores the result in name
(name must be M0...M9). The entries will be integers
ranging from –9 to 9.
RANDMAT
name;rows;columns:
REDIM
Redimensions the specified matrix or vector to size. For a
matrix, size is a list of two integers {n1,n2}. For a vector,
size is a list containing one integer {n}.
REDIM
name;size:
REPLACE
Replaces portion of a matrix or vector stored in name with
an object starting at position start. start for a matrix is a
list containing two numbers; for a vector, it is a single
number. Replace also works with lists and graphics.
REPLACE
name;start;object:
SCALE
Multiplies the specified row_number of the specified
matrix by value.
SCALE
name;value;rownumber:
SCALEADD
Multiplies the row of the matrix name by value, then adds
this result to the second specified row.
SCALEADD
name;value;row1;row2: