up previous next
log

the list of exponents of the leading term of a polynomial

Syntax
log(F: RINGELEM): LIST

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

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

See Also