Difference between revisions of "Package sagbi/SB.GetGens"
From ApCoCoAWiki
Andraschko (talk | contribs) m (replaced quotes by <qoutes> tag) |
m (replaced <quotes> tags by real quotes) |
||
Line 4: | Line 4: | ||
<short_description>Returns a set of generators of a given subalgebra</short_description> | <short_description>Returns a set of generators of a given subalgebra</short_description> | ||
− | <syntax>SB.GetGens(S: TAGGED( | + | <syntax>SB.GetGens(S: TAGGED("$apcocoa/sagbi.Subalgebra")): LIST of POLY</syntax> |
<description> | <description> | ||
This function returns a set <tt>G</tt> such that <tt>S = K[g|g in G]</tt> where <tt>K</tt> is the coefficient ring of <tt>S</tt>. | This function returns a set <tt>G</tt> such that <tt>S = K[g|g in G]</tt> where <tt>K</tt> is the coefficient ring of <tt>S</tt>. |
Latest revision as of 13:20, 29 October 2020
This article is about a function from ApCoCoA-2. |
SB.GetGens
Returns a set of generators of a given subalgebra
Syntax
SB.GetGens(S: TAGGED("$apcocoa/sagbi.Subalgebra")): LIST of POLY
Description
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
Example
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.GetTruncSAGBI