up previous next
monomials

the list of monomials of a polynomial or vector

Syntax
monomials(F:POLY or VECTOR):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(3x^2y+y,5xy+4)); --***OBSOLETE MANUAL: WORK IN PROGRESS***
[Vector(3x^2y, 0), Vector(0, 5xy), Vector(y, 0), Vector(0, 4)]

See Also