next | previous | forward | backward | up | top | index | toc | Macaulay2 website
SubalgebraBases :: generators(SAGBIBasis)

generators(SAGBIBasis) -- Returns a partial sagbi generating set

Synopsis

Description

Returns the current list of sagbiGenerators of the underlying Subring. If the SAGBIBasis is not a complete sagbi basis (for example it is obtained from a partial computation) then the generators obtained from this command may not be a generating set for the original subring.

i1 : R = QQ[x,y];
i2 : S = subring {x*y, x^2*y, x^3*y};
i3 : gens S

o3 = | xy x2y x3y |

             1       3
o3 : Matrix R  <--- R
i4 : SB = sagbi(S, Limit => 3);
i5 : gens SB

o5 = | xy x2y |

             1       2
o5 : Matrix R  <--- R
i6 : isSAGBI S
 -- 0.000218855 seconds elapsed
 -- 0.000271361 seconds elapsed
 -- 0.000245262 seconds elapsed
 -- 0.000112724 seconds elapsed
 -- 0.000274527 seconds elapsed
 -- 0.000252309 seconds elapsed
 -- 0.000111931 seconds elapsed
 -- 0.00025771 seconds elapsed
 -- 0.000251959 seconds elapsed
 -- 0.000222962 seconds elapsed
 -- 0.000279581 seconds elapsed
 -- 0.000249697 seconds elapsed
 -- 0.000112173 seconds elapsed
 -- 0.000269625 seconds elapsed
 -- 0.000241677 seconds elapsed
 -- 0.000112403 seconds elapsed
 -- 0.000249846 seconds elapsed
 -- 0.00024321 seconds elapsed
 -- 0.000111583 seconds elapsed
 -- 0.000318988 seconds elapsed
 -- 0.000376812 seconds elapsed
 -- 0.000113681 seconds elapsed
 -- 0.000322277 seconds elapsed
 -- 0.00037827 seconds elapsed
timing raw subduction
timing raw subduction
timing raw subduction
timing raw subduction
timing raw subduction
timing raw subduction
timing raw subduction
timing raw subduction

o6 = true
i7 : isSAGBI SB

o7 = false

See also

Ways to use this method: