mini SciMax Toolbox minimize_lp

SciMax Toolbox >> minimalPoly

minimalPoly

Maxima Function

Calling Sequence

minimalPoly (l)

Description

Returns the minimal polynomial associated to the codification given by the Maxima list l, which is the output given by function jordan.

Example:

(%i1) load("diag")$
(%i2) a:matrix([2,1,2,0],
               [-2,2,1,2],
               [-2,-1,-1,1],
               [3,1,2,-1])$
(%i3) jordan(a);
(%o3)               [[- 1, 1], [1, 3]]
(%i4) minimalPoly(%);
                            3
(%o4)                (x - 1)  (x + 1)

To use this function write first load("diag"). See also and .

mini SciMax Toolbox minimize_lp