Top
Back: eigenvals
Forward: spnf
FastBack:
FastForward:
Up: linalg_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.3.2.19 minipoly

Procedure from library linalg.lib (see linalg_lib).

Usage:
minipoly(M); matrix M

Assume:
eigenvalues of M in basefield

Return:
 
list l;  minimal polynomial of M
  ideal l[1];
    number l[1][i];  i-th root of minimal polynomial of M
  intvec l[2];
    int l[2][i];  multiplicity of i-th root of minimal polynomial of M

Example:
 
LIB "linalg.lib";
ring R=0,x,dp;
matrix M[3][3]=3,2,1,0,2,1,0,0,3;
print(M);
==> 3,2,1,
==> 0,2,1,
==> 0,0,3 
minipoly(M);
==> [1]:
==>    _[1]=2
==>    _[2]=3
==> [2]:
==>    1,2


Top Back: eigenvals Forward: spnf FastBack: FastForward: Up: linalg_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4.3.2, 2023, generated by texi2html.