up previous next
exponents

the list of exponents of the leading term of a polynomial

Syntax
exponents(F: RINGELEM): LIST of INT

Description
This function returns the list of exponents of the leading term of F . The inverse function is MakeTerm .

This function was called log up to version CoCoA-5.1.2.

Example
/**/  use R ::= QQ[x,y,z];
/**/  F := x^3*y^2*z^5 + x^2*y + x*z^4;
/**/  exponents(F);
[3, 2, 5]

See Also