Owner manual
RANDMAT Creates random matrix with number of rows and columns you
specify in rows, columns, and stores the result in name
(name must be MO . . . M9). The entries will be integers ranging
from -9 to 9.
RANDMAT name;rows;columns
Exan®>le: RANDMAT M2;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 size. For a matrix, size is a
list of two integers {nl,n2}. For a vector, size is a list containing
one integer {n}.
REDIM name;{size}
REPLACE Replaces portion of matrix or vector stored in name with
another 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 for lists and graphics.
REPLACE name;start;object
SCALE Multiplies the specified rowjmmber of the specified matrix by
value.
SCALE name;value;row_number
SCALEADD Multiplies the first specified row of the matrix in name by value,
then adds this result to the second specified row, and stores the
result in name.
SCALEADD name;value;rowl; row2
Programming 8-19