up previous next
eigenfactors    --    eigenfactors of a matrix


Syntax
eigenfactors(M: MAT, X: RINGELEM): LIST of RINGELEM

Description
M must be a square matrix, and X an indeterminate.

This function determines the eigenfactors of M, i.e. the irreducible factors of CharPoly of M as polynomials in X.

Example
/**/  use R ::= QQ[x];
/**/  M := mat([[0,2,0,0],[1,0,0,0],[0,0,0,2],[0,0,1,1]]);
/**/  eigenfactors(M, x);
[x+1,  x-2,  x^2-2]

See Also