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.000146035 seconds elapsed
 -- 0.000143095 seconds elapsed
 -- 0.000115135 seconds elapsed
 -- 0.000060113 seconds elapsed
 -- 0.000143071 seconds elapsed
 -- 0.000107751 seconds elapsed
 -- 0.000058305 seconds elapsed
 -- 0.000128644 seconds elapsed
 -- 0.000107175 seconds elapsed
 -- 0.000117465 seconds elapsed
 -- 0.00012839 seconds elapsed
 -- 0.000112294 seconds elapsed
 -- 0.000060725 seconds elapsed
 -- 0.000140468 seconds elapsed
 -- 0.000108331 seconds elapsed
 -- 0.000061147 seconds elapsed
 -- 0.000139876 seconds elapsed
 -- 0.000109456 seconds elapsed
 -- 0.000070047 seconds elapsed
 -- 0.00017269 seconds elapsed
 -- 0.000159503 seconds elapsed
 -- 0.000062754 seconds elapsed
 -- 0.00016632 seconds elapsed
 -- 0.000156118 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: