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

numgens(Subring) -- The number of generators of a subring

Synopsis

Description

Returns the number of generators of the Subring.

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

o3 = 3

See also

Ways to use this method: