CoCoA:LPos
From ApCoCoAWiki
LPos
the position of the leading power-product in a vector
Description
This function returns the position of the leading power-product of V.
Example
Use R ::= Q[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 ::= Q[x,y],PosTo; LT(Vector(x,y^2)); Vector(x, 0) ------------------------------- LPP(Vector(x,y^2)); x ------------------------------- LPos(Vector(x,y^2)); 1 -------------------------------
Syntax
LPos(V:VECTOR):INT
<type>vector</type>