HP Prime Graphing NW280AAABA manual Choleskymatrix, Example CAS view, Cholesky ⎜, IhermiteMtrxA

Models: Prime Graphing NW280AAABA

1 616
Download 616 pages 24.49 Kb
Page 487
Image 487

Diagonal Given a list, returns a matrix with the list elements along its diagonal and zeroes elsewhere. Given a matrix, returns a vector of the elements along its diagonal.

diag(list) or diag(matrix)

Example:

diag1 2 returns 3 4

1 4

Cholesky For a numerical symmetric matrix A, returns the matrix L such that A=L*tran(L).

cholesky(matrix)

Example:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

In CAS view,

3 1

 

returns

cholesky

 

 

 

 

 

 

 

1 4

 

 

 

 

 

 

 

 

 

 

 

 

 

3

0

 

 

 

 

 

 

 

 

 

after simplification

 

 

3

33

 

 

 

 

 

 

 

 

 

--------

 

 

 

 

 

 

 

 

 

3

3

 

 

 

 

 

 

 

 

 

Hermite Hermite normal form of a matrix with coefficients in Z: returns U,B such that U is invertible in Z, B is upper triangular and B=U*A.

ihermite(Mtrx(A))

Example:

1 2 3

ihermite4 5 6 returns 7 8 9

3

1

0

,

1

1 3

4

1

0

0

3

6

1

2

1

 

0

0

0

Matrices

481

Page 487
Image 487
HP Prime Graphing NW280AAABA manual Choleskymatrix, Example CAS view, Cholesky ⎜, IhermiteMtrxA, ⎛ 1 2 3 ⎞