Home Online Manual
Back: maxdeg1
Forward: mindeg1
FastBack: inout_lib
FastForward: random_lib
Up: poly_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.2.6.10 mindeg

Procedure from library poly.lib (see poly_lib).

mindeg(id); id poly/ideal/vector/module/matrix

minimal degree/s of monomials of id, independent of ring ordering (mindeg of each variable is 1) of type int if id of type poly, else of type intmat.

LIB "poly.lib";
ring r = 0,(x,y,z),ls;
poly f = x5+y2+z3;
ord(f);                  // ord returns weighted order of leading term!
==> 3
mindeg(f);               // computes minimal degree
==> 2
matrix m[2][2]=x10,1,0,f^2;
mindeg(m);               // computes matrix of minimum degrees
==> 10,0,
==> -1,4 
See also: mindeg1.