Package sagbi/SB.GetGens

From ApCoCoAWiki
This article is about a function from ApCoCoA-2.


Returns a set of generators of a given subalgebra


SB.GetGens(S: TAGGED("$apcocoa/sagbi.Subalgebra")): LIST of POLY


This function returns a set G such that S = K[g|g in G] where K is the coefficient ring of S.

  • @param S A subalgebra

  • @return a set of generators of S


Use R ::= QQ[x,y,z];
S := SB.Subalgebra(R,[x^2,y+z]);
PrintLn SB.GetGens(S);
-- [x^2,  y +z]

See also

Package sagbi/SB.Subalgebra

Package sagbi/SB.GetID

Package sagbi/SB.GetRing

Package sagbi/SB.GetCoeffRing

Package sagbi/SB.GetSAGBI

Package sagbi/SB.GetTruncSAGBI

Package sagbi/SB.GetTruncDeg

Package sagbi/SB.GetLTSA

Package sagbi/SB.GetInDeg

Package sagbi/SB.GetHS