up
previous
next
LC
Syntax
LC(F:POLY or VECTOR):C
where C is one of INT, RAT, or ZMOD.
Summary
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
-------------------------------
See Also