Macaulay2 » Documentation
Packages » Binomials :: binomialIsPrime
next | previous | forward | backward | up | index | toc

binomialIsPrime -- test for primeness of a binomial ideal

Synopsis

Description

A binomial ideal is prime only if it is cellular. If the cellular variables are known they can be given via the CellVariables option.
i1 : R = QQ[x,y]

o1 = R

o1 : PolynomialRing
i2 : I = ideal(x^2-y,y^2-x)

             2       2
o2 = ideal (x  - y, y  - x)

o2 : Ideal of R
i3 : binomialIsPrime I

o3 = false

See also

Ways to use binomialIsPrime :

For the programmer

The object binomialIsPrime is a method function with options.