up previous next
support

the list of terms of a polynomial or moduleelem

Syntax
support(F: RINGELEM): LIST
support(F: MODULEELEM): LIST

Description
This function returns the list of terms of F. To get a list of monomials, which includes coefficients, use monomials .

Example
/**/  use R ::= QQ[x,y];
/**/  F := 3*x^2-4*x*y+y^3+3;
/**/  support(F);
[y^3, x^2, x*y, 1]

/**/  monomials(F);
[y^3, 3*x^2, -4*x*y, 3]

// NOT YET IMPLEMENTED for MODULEELEM

See Also