HP 40G manual Eigenval, Eigenvv, Idenmat, Inverse, Lsq, Makemat

Models: 40G

1 288
Download 288 pages 40.09 Kb
Page 183
Image 183

EIGENVAL

Displays the eigenvalues in vector form for matrix.

 

EIGENVAL(matrix)

EIGENVV

Eigenvectors and Eigenvalues for a square matrix. Displays a

 

list of two arrays. The first contains the eigenvectors and the

 

second contains the eigenvalues.

 

EIGENVV(matrix)

IDENMAT

Identity matrix. Creates a square matrix of dimension

 

size × size whose diagonal elements are 1 and off-diagonal

 

elements are zero.

 

IDENMAT(size)

INVERSE

Inverts a square matrix (real or complex).

 

INVERSE(matrix)

LQ

LQ Factorization. Factors an m × n matrix into three matrices:

 

{[[ m × n lowertrapezoidal]],[[ n × n orthogonal]],

 

[[ m × m permutation]]}.

 

LQ(matrix)

LSQ

Least Squares. Displays the minimum norm least squares

 

matrix (or vector).

 

LSQ(matrix1, matrix2)

LU

LU Decomposition. Factors a square matrix into three

 

matrices:

 

{[[lowertriangular]],[[uppertriangular]],[[permutation]]}

 

The uppertriangular has ones on its diagonal.

 

LU(matrix)

MAKEMAT

Make Matrix. Creates a matrix of dimension rows × columns,

 

using expression to calculate each element. If expression

 

contains the variables I and J, then the calculation for each

 

element substitutes the current row number for I and the

 

current column number for J.

 

MAKEMAT(expression, rows, columns)

 

Example

 

MAKEMAT(0,3,3) returns a 3×3 zero matrix,

 

[[0,0,0],[0,0,0],[0,0,0]].

Matrices

12-11

Page 183
Image 183
HP 40G manual Eigenval, Eigenvv, Idenmat, Inverse, Lsq, Makemat