characteristicPolynomial(M)
characteristicPolynomial(f)
characteristicPolynomial(g,I)
This computes the characteristic polynomial of the matrix M, or the characteristic polynomial of the regular representation of f on the Artinian ring ring f, or the characteristic polynomial of the regular representation of g on the Artinian ring (ring g)/I.
|
|
|
We can also change the variable name, as we show below.
|
We show the last two methods.
|
|
|
|
The object characteristicPolynomial is a method function with options.
The source of this document is in RealRoots.m2:749:0.