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

numgens(SAGBIBasis) -- The number of generators of a SAGBIBasis

Synopsis

Description

Returns the number of subalgebra generators of a SAGBIBasis.

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

o4 = 3

See also

Ways to use this method: