beautypg.com

Matrix functions and commands – HP Prime Graphing Calculator User Manual

Page 480

background image

474

Matrices

6. Return to Home view and left-multiply the constants

vector by the inverse of the coefficients matrix:

HA Q

2

S ns

A Q

1

E

The result is a vector of
the solutions: x = 2, y = 3
and z = –2.
An alternative method is
to use the RREF function
(see page 476).

Matrix functions and commands

Functions

Functions can be used in any app or in Home view. They
are listed on the Math menu under the Matrix category.
They can be used in mathematical expressions—primarily
in Home view—as well as in programs.
Functions always produce and display a result. They do
not change any stored variables, such as a matrix
variable.
Functions have arguments that are enclosed in
parentheses and separated by commas; for example,
CROSS(vector1,vector2). The matrix input can be either a

matrix variable name (such as M1) or the actual matrix

data inside brackets. For example, CROSS(M1,[1 2]).

Menu format

By default, a Matrix function is presented on the Math
menu using its descriptive name, not its common
command name. Thus the shorthand name TRN is

presented as

Transpose

and DET is presented as

Determinant

.

If you prefer the Math menu to show command names
instead, deselect the

Menu Display

option on page 2 of

the

Home Settings

screen (see page 26).

Commands

Matrix commands differ from matrix functions in that they
do not return a result. For this reason, these functions can
be used in an expression and matrix commands cannot.