About commands, Argument conventions, Matrix functions – HP 39g+ User Manual

Page 188: Colnorm, Cond, Cross

Advertising
background image

13-10

Matrices

•

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])

.

About commands

Matrix commands are listed in the CMDS menu (

CMDS

), in the matrix category.

See “Matrix commands” on page 16-23 for details of the
matrix commands available for use in programming.

Functions differ from commands in that a function can be
used in an expression. Commands cannot be used in an
expression.

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

COLNORM

Column Norm. Finds the maximum value (over all
columns) of the sums of the absolute values of all elements
in a column.

COLNORM

(matrix)

COND

Condition Number. Finds the 1-norm (column norm) of a
square matrix.

COND

(matrix)

CROSS

Cross Product of vector1 with vector2.

CROSS

(vector1, vector2)

Advertising
This manual is related to the following products: