Compute a Grobner basis with Macaulay2
gb(..., control = list(), raw_chars = FALSE, code = FALSE)gb.(..., control = list(), raw_chars = FALSE, code = FALSE)
gb_(x, control = list(), raw_chars = FALSE, code = FALSE, ...)
gb_.(x, control = list(), raw_chars = FALSE, code = FALSE, ...)
an mpolyList object of class m2_grobner_basis or a
m2_grobner_basis_pointer pointing to the same. See mpolyList().
...
a list of options, see examples
if TRUE, the character vector will not be parsed by
mp(), saving time (default: FALSE). the down-side is that the
strings must be formated for M2 use directly, as opposed to for mp().
(e.g. "x*y+3" instead of "x y + 3")
return only the M2 code? (default: FALSE)
a character vector of polynomials to be parsed by mp(), a
mpolyList object, an ideal() or pointer to an ideal
gb uses nonstandard evaluation; gb_ is the standard evaluation
equivalent.
mp(), use_ring()