About commands
Argument conventions
Matrix functions
COLNORM
COND
CROSS
13-10
•
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]).
Matrix commands are listed in the CMDS menu (
), in the matrix category.
CMDS
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.
•
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.
Column Norm. Finds the maximum value (over all
columns) of the sums of the absolute values of all elements
in a column.
COLNORM(matrix)
Condition Number. Finds the 1-norm (column norm) of a
square matrix.
COND(matrix)
Cross Product of vector1 with vector2.
CROSS(vector1, vector2)
Matrices