up previous next

Monomials

Syntax

Monomials(F:POLY or VECTOR):LIST
    

Summary

the list of monomials of a polynomial or vector

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[xy];
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