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
mpoly::mpolyList()
.
...
a list of options, see examples
if TRUE
, the character vector will not be parsed by
mpoly::mp()
, saving time (default: FALSE
). the down-side is that
the strings must be formated for M2 use directly, as opposed to for
mpoly::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 mpoly::mp()
, a
mpolyList
object, an ideal()
or pointer to an ideal
gb
uses nonstandard evaluation; gb_
is the standard evaluation
equivalent.
mpoly::mp()
, use_ring()