next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Binomials :: returnPrimes

returnPrimes -- return two associated primes

Description

If binomialIsPrimary does not return true it can either return 'false' or two associated primes. If this option is set then two associated primes are returned. If returnPChars is set too, then partial characters will be returned.
i1 : R = QQ[x,y,z]

o1 = R

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

            2
o2 = ideal(x  - 1)

o2 : Ideal of R
i3 : binomialIsPrimary (I,returnPrimes=>true)
CellVariables not given, Please consider precomputing them
The radical is not prime, as the character is not saturated

o3 = {ideal(x - 1), ideal(x + 1)}

o3 : List

Functions with optional argument named returnPrimes :

See also

For the programmer

The object returnPrimes is a symbol.