Learn R Programming

m2r (version 1.0.3)

gb: Compute a Grobner basis with Macaulay2

Description

Compute a Grobner basis with Macaulay2

Usage

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, ...)

Value

an mpolyList object of class m2_grobner_basis or a m2_grobner_basis_pointer pointing to the same. See mpoly::mpolyList().

Arguments

...

...

control

a list of options, see examples

raw_chars

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")

code

return only the M2 code? (default: FALSE)

x

a character vector of polynomials to be parsed by mpoly::mp(), a mpolyList object, an ideal() or pointer to an ideal

Details

gb uses nonstandard evaluation; gb_ is the standard evaluation equivalent.

See Also

mpoly::mp(), use_ring()