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.000150801 seconds elapsed
 -- 0.000142722 seconds elapsed
 -- 0.000141361 seconds elapsed
 -- 0.00007956 seconds elapsed
 -- 0.000159962 seconds elapsed
 -- 0.000145321 seconds elapsed
 -- 0.000083 seconds elapsed
 -- 0.000152081 seconds elapsed
 -- 0.000141921 seconds elapsed
 -- 0.000147121 seconds elapsed
 -- 0.000141841 seconds elapsed
 -- 0.000143641 seconds elapsed
 -- 0.00008068 seconds elapsed
 -- 0.000161201 seconds elapsed
 -- 0.000138241 seconds elapsed
 -- 0.00007992 seconds elapsed
 -- 0.000156962 seconds elapsed
 -- 0.000140361 seconds elapsed
 -- 0.000079601 seconds elapsed
 -- 0.000186802 seconds elapsed
 -- 0.000200402 seconds elapsed
 -- 0.000082121 seconds elapsed
 -- 0.000194642 seconds elapsed
 -- 0.000197642 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: