EasyManua.ls Logo

HP 39gII - Page 282

HP 39gII
355 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
272 Programming
matrix that was edited, EDITMAT cannot be used as an
argument to other matrix commands.
RANDMAT 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.
REDIM 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.
REPLACE 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.
SCALE Syntax: SCALE(name, value, rownumber)
Multiplies the specified row_number of the specified
matrix by value.
SCALEADD 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).
SUB 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.
SWAPCOL Syntax: SWAPCOL(name, column1, column2)
Swaps columns. Exchanges column1 and column2 of the
specified matrix (name).
SWAPROW Syntax: SWAPROW(name, row1, row2)
Swap Rows. Exchanges row1 and row2 in the specified
matrix (name).

Table of Contents

Other manuals for HP 39gII

Related product manuals