CoCoA:LC
From ApCoCoAWiki
LC
the leading coefficient of a polynomial or vector
Description
This function returns the leading coefficient of F, as determined by
the term-ordering of the ring to which F belongs.
Example
Use R ::= Q[x,y]; LC(x+3x^2-5y^2); 3 ------------------------------- LC(Vector(0,5y+6x^2,y^2)); 6 -------------------------------
Syntax
LC(F:POLY or VECTOR):C where C is one of INT, RAT, or ZMOD.
<type>polynomial</type> <type>vector</type>