CoCoA:LC

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)

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.

Coefficients

CoeffOfTerm

LT

   <type>polynomial</type>
   <type>vector</type>