Macaulay2 » Documentation
Packages » Macaulay2Doc :: codim(MonomialIdeal)
next | previous | forward | backward | up | index | toc

codim(MonomialIdeal) -- compute the codimension

Synopsis

Description

Computes the codimension of the monomial ideal I.
i1 : R = ZZ/101[a..e];
i2 : codim monomialIdeal (b,c,d)

o2 = 3
i3 : codim monomialIdeal (b^3,c^2)

o3 = 2

See also

Ways to use this method: