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.000126771 seconds elapsed
 -- 0.000125531 seconds elapsed
 -- 0.000113301 seconds elapsed
 -- 0.000076001 seconds elapsed
 -- 0.000176902 seconds elapsed
 -- 0.000133132 seconds elapsed
 -- 0.000063689 seconds elapsed
 -- 0.000139461 seconds elapsed
 -- 0.000107822 seconds elapsed
 -- 0.000125021 seconds elapsed
 -- 0.000156071 seconds elapsed
 -- 0.00013063 seconds elapsed
 -- 0.000057331 seconds elapsed
 -- 0.000133431 seconds elapsed
 -- 0.000107001 seconds elapsed
 -- 0.00005785 seconds elapsed
 -- 0.000141072 seconds elapsed
 -- 0.000106431 seconds elapsed
 -- 0.00006261 seconds elapsed
 -- 0.00193704 seconds elapsed
 -- 0.000179592 seconds elapsed
 -- 0.000059801 seconds elapsed
 -- 0.000162691 seconds elapsed
 -- 0.000188913 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: