CoCoA:CharPoly

From ApCoCoAWiki
Revision as of 10:02, 24 October 2007 by XMLBot (talk | contribs) (pushing XML rev. 1.46, again)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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>