up previous next
the leading monomial of a polynomial or ModuleElem
LM(X: RINGELEM): RINGELEM
LM(X: MODULEELEM): MODULEELEM 
This function returns the leading monomial of
X
. The monomial
includes the coefficient. To get the leading term of
P
, (which does
not included the coefficient), use
LT
.
/**/ Use R ::= QQ[x,y];
/**/ LM(3*x^2*y + y);
3*x^2*y
