next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Classic :: monomialIdeal(String)

monomialIdeal(String) -- make a monomial ideal using classic Macaulay syntax



Creates a monomial ideal using an abbreviated format. Each polynomial has the form described in Classic. The polynomials are separated by commas. Spaces and newline characters are ignored.

i1 : R = ZZ[a..e];
i2 : I = monomialIdeal "abc,bcd,cde11"

o2 = monomialIdeal (a*b*c, b*c*d, c*d*e  )

o2 : MonomialIdeal of R

See also

Ways to use this method: