CoCoA:CharPoly
From ApCoCoAWiki
CharPoly
characteristic polynomial of a matrix
Description
X is an indeterminate, and M is a square matrix whose entries do not involve X.
This function returns the characteristic polynomial of M in the indeterminate X.
Example
Use R ::= Q[x]; CharPoly(Mat([[1,2,3],[4,5,6],[7,8,9]]), x); -x^3 + 15x^2 + 18x -------------------------------
Syntax
CharPoly(M:MAT, X:POLY):LIST
<type>matrix</type>