next | previous | forward | backward | up | top | index | toc | Macaulay2 website
SubalgebraBases :: numgens(Subring)

numgens(Subring) -- Returns the number of generators of a subring.

Synopsis

Description

i1 : gndR = QQ[x,y,z];
i2 : subR = subring({x^2, y^2, z^2});
i3 : numgens subR

o3 = 3

See also