CoCoA:LPos

From ApCoCoAWiki
Revision as of 10:02, 24 October 2007 by XMLBot (talk | contribs) (pushing XML rev. 1.46, again)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

LM

LPP

LT

   <type>vector</type>