next | previous | forward | backward | up | top | index | toc | packages | 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.000131256 seconds elapsed
 -- 0.000139128 seconds elapsed
 -- 0.000116212 seconds elapsed
 -- 0.000062141 seconds elapsed
 -- 0.000138698 seconds elapsed
 -- 0.000113671 seconds elapsed
 -- 0.00005652 seconds elapsed
 -- 0.000126084 seconds elapsed
 -- 0.000104928 seconds elapsed
 -- 0.000117179 seconds elapsed
 -- 0.000146283 seconds elapsed
 -- 0.000116253 seconds elapsed
 -- 0.000057312 seconds elapsed
 -- 0.000132679 seconds elapsed
 -- 0.000108383 seconds elapsed
 -- 0.000057688 seconds elapsed
 -- 0.000131756 seconds elapsed
 -- 0.000105388 seconds elapsed
 -- 0.000058161 seconds elapsed
 -- 0.000153819 seconds elapsed
 -- 0.000143562 seconds elapsed
 -- 0.000058125 seconds elapsed
 -- 0.000158916 seconds elapsed
 -- 0.000155577 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: