Manual

Matrices 481
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:
diag returns
Cholesky For a numerical symmetric matrix A, returns the matrix L
such that A=L*tran(L).
cholesky(matrix)
Example:
In CAS view, cholesky returns
after simplification
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:
ihermite returns
12
34
14
31
14
30
3
3
----
33
3
------
123
456
789
3 10
41 0
1 21
11 3
03 6
00 0
,