up previous next
monomials

the list of monomials of a polynomial

Syntax
monomials(F: RINGELEM|MODULEELEM): LIST

Description
This function returns the list of monomials of F. The function support returns the list of terms (monomials without coefficients).

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

/**/  support(F);
[x*y^5, x^2*y, y^3]

  Monomials(Vector(3*x^2*y+y,5*x*y+4)); --***WORK IN PROGRESS***
[Vector(3x^2y, 0), Vector(0, 5xy), Vector(y, 0), Vector(0, 4)]

See Also