up previous next
LPP

the leading power-product of a polynomial or ModuleElem

Syntax
LPP(X: RINGELEM): RINGELEM
LPP(X: MODULEELEM): RINGELEM

Description
This function returns the leading power-product of X ; it discards information about which component the power-product appears in.

Example
/**/  use R ::= QQ[x,y];
/**/  LPP(3*x^2*y+y);  -- LPP is the same as LT for polynomials
x^2*y

-- Note the difference between LPP and LT for MODULEELEM.
/**/  R4 := NewFreeModule(R,4); -- the default module ordering is TOPos
/**/  LPP(ModuleElem(R4, [0, x, y^2, x^2]));
x^2
/**/  LT(ModuleElem(R4, [0, x, y^2, x^2]));
[0, 0, 0, x^2]
/**/  LPosn(ModuleElem(R4, [0, x, y^2, x^2]));
4

See Also