CoCoA:Monomials
From ApCoCoAWiki
Monomials
the list of monomials of a polynomial or vector
Description
This function returns the list of monomials of F. The function
<ttref>Support</ttref> 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)] -------------------------------
Syntax
Monomials(F:POLY or VECTOR):LIST
<type>polynomial</type> <type>vector</type>