next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: roots(RingElement)

roots(RingElement) -- compute the roots of a polynomial

Synopsis

Description

i1 : RR_100[x]

o1 = RR   [x]
       100

o1 : PolynomialRing
i2 : p = x^13 + 5*x^9 + 7*x^4 + x +1

      13     9     4
o2 = x   + 5x  + 7x  + x + 1

o2 : RR   [x]
       100
i3 : ZZ[x]

o3 = ZZ[x]

o3 : PolynomialRing
i4 : p = x^13 + 5*x^9 + 7*x^4 + x +1

      13     9     4
o4 = x   + 5x  + 7x  + x + 1

o4 : ZZ[x]

The roots are computed using MPsolve (missing documentation).