Macaulay2 » Documentation
Packages » RealRoots :: realRootIsolation
next | previous | forward | backward | up | index | toc

realRootIsolation -- a list that isolates the real roots of a univariate polynomial with rational coefficients

Description

This computes disjoint intervals of length at most r, each containing exactly one real root of f.

i1 : R = QQ[t]

o1 = R

o1 : PolynomialRing
i2 : f = 45 - 39*t - 34*t^2 + 38*t^3 - 11*t^4 + t^5

      5      4      3      2
o2 = t  - 11t  + 38t  - 34t  - 39t + 45

o2 : R
i3 : realRootIsolation(f,1/2)

         3        1       5       9
o3 = {{- -, -1}, {-, 1}, {-, 3}, {-, 5}}
         2        2       2       2

o3 : List

See also

Ways to use realRootIsolation:

  • realRootIsolation(RingElement,QQ)

For the programmer

The object realRootIsolation is a method function.


The source of this document is in RealRoots.m2:901:0.