next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc :: codim(MonomialIdeal)

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