next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Normaliz :: numgens(MonomialSubalgebra)

numgens(MonomialSubalgebra) -- number of generators of a monomial subalgebra

Synopsis

Description

i1 : R=ZZ/37[x,y,z];
i2 : S=createMonomialSubalgebra {x^2*y, x*z, z^3}

     ZZ  2         3
o2 = --[x y, x*z, z ]
     37

o2 : monomial subalgebra of R
i3 : numgens S

o3 = 3