beautypg.com

Matrix functions, Argument conventions – HP Prime Graphing Calculator User Manual

Page 481

background image

Matrices

475

The matrix commands are designed to support programs
that use matrices.
The matrix commands are listed in the Matrix category of
the Commands menu in the Program Editor. They are also
listed in the Catalog menu, one of the Toolbox menus.
Press

D

and tap

to display the commands

catalog. The matrix functions are described in the
following sections of this chapter; the matrix commands
are described in the chapter Programming (see page
544
).

Argument

conventions

For row# or column#, supply the number of the row
(counting from the top, starting with 1) or the number
of the column (counting from the left, starting with 1).

The argument matrix can refer to either a vector or a
matrix.

Matrix functions

The matrix functions are available in the Matrix category
on the Math menu:

D

Select Matrix Select a function.

Transpose

Transposes matrix. For a complex matrix, TRN finds the
conjugate transpose.

TRN(matrix)

Example:

TRN

returns

Determinant

Determinant of a square matrix.

DET(matrix)

Example:

DET

returns –2

1 2
3 4

1 3
2 4

1 2
3 4