Macaulay2 » Documentation
Packages » SubalgebraBases :: numgens(Subring)
next | previous | forward | backward | up | index | toc

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

Synopsis

Description

Returns the number of generators of a Subring.

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

o3 = 4

See also

Ways to use this method: