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 ::= Q[x,y];
F := 3x^2y+5y^3-xy^5;
Monomials(F);
[-xy^5, 3x^2y, 5y^3]
-------------------------------
Support(F);
[xy^5, x^2y, y^3]
-------------------------------
Monomials(Vector(3x^2y+y,5xy+4));
[Vector(3x^2y, 0), Vector(0, 5xy), Vector(y, 0), Vector(0, 4)]
-------------------------------


See Also