toricGroebner(A) or toricGroebner(A,R)
|
|
Note that the output of the command is a matrix whose rows are the exponents of the binomials that for a Groebner basis of the toric ideal $I_A$. As a shortcut, one can ask for the output to be an ideal instead:
|
|
4ti2 offers the use of weight vectors representing term orders, as follows:
|
It seems that some versions of 4ti2 do not pick up on the weight vector. It may be better to run gb computation in M2 directly with specified weights.
The object toricGroebner is a method function with options.