next up previous contents index
suivant: Eigenvalues : egvl eigenvalues monter: Matrix reduction précédent: Matrix reduction   Table des matières   Index


Eigenvalues : eigenvals

eigenvals takes as argument a square matrix A of size n.
eigenvals returns the sequence of the n eigenvalues of A.
Remark : If A is exact, Xcas may not be able to find the exact roots of the characteristic polynomial, eigenvals will return approximate eigenvalues of A if the coefficients are numeric or a subset of the eigenvalues if the coefficients are symbolic.
Input :
eigenvals([[4,1,-2],[1,2,-1],[2,1,0]])
Output :
(2,2,2)
Input :
eigenvals([[4,1,0],[1,2,-1],[2,1,0]])
Output :
(0.324869129433,4.21431974338,1.46081112719)



giac documentation written by Renée De Graeve and Bernard Parisse