up previous next
LPos

the position of the leading power-product in a vector
Syntax

LPos(V:VECTOR):INT


Description
This function returns the position of the leading power-product of V.

Example
  Use R ::= QQ[x,y], ToPos;  -- ToPos is the default module term-ordering
  LT(Vector(x,y^2));
Vector(0, y^2)
-------------------------------
  LPP(Vector(x,y^2));
y^2
-------------------------------
  LPos(Vector(x,y^2));
2
-------------------------------
  Use R ::= QQ[x,y], PosTo;
  LT(Vector(x,y^2));
Vector(x, 0)
-------------------------------
  LPP(Vector(x,y^2));
x
-------------------------------
  LPos(Vector(x,y^2));
1
-------------------------------


See Also