HP 39gII User Manual page 282

Graphing calculator
Hide thumbs Also See for 39gII:
Table of Contents

Advertisement

RANDMAT
REDIM
REPLACE
SCALE
SCALEADD
SUB
SWAPCOL
SWAPROW
272
matrix that was edited, EDITMAT cannot be used as an
argument to other matrix commands.
Syntax: RANDMAT (name, rows, columns)
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 -99
to 99.
Syntax: REDIM(name, size)
Redimensions the specified matrix (name) 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). Existing
values in the matrix are preserved. Fill values will be 0.
Syntax: REPLACE(name, start, object)
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.
Syntax: SCALE(name, value, rownumber)
Multiplies the specified row_number of the specified
matrix by value.
Syntax: SCALEADD(name, value, row1, row2)
Multiplies the specified row1 of the matrix (name) by
value, then adds this result to the second specified row2
of the matrix (name).
Syntax: SUB(name, object, start, end)
Extracts a sub-object, a portion of a list, matrix, or
graphic from object, and stores it into name. Start and
end are each specified using a list with two numbers for
a matrix, a number for vector or lists, or an ordered pair,
(X,Y), for graphics.
Syntax: SWAPCOL(name, column1, column2)
Swaps columns. Exchanges column1 and column2 of the
specified matrix (name).
Syntax: SWAPROW(name, row1, row2)
Swap Rows. Exchanges row1 and row2 in the specified
matrix (name).
Programming

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents