Macaulay2 » Documentation
Packages » CoincidentRootLoci :: realroots
next | previous | forward | backward | up | index | toc

realroots -- real roots of a binary form

Synopsis

Description

This is a simple application of the method roots.

i1 : F = randomBinaryForm 5

        5     4       3 2     2 3       4     5
o1 = 18t  + 2t t  + 9t t  + 2t t  + 4t t  + 3t
        0     0 1     0 1     0 1     0 1     1

o1 : QQ[t ..t ]
         0   1
i2 : realroots F

o2 = {[-.495276, 1]}

o2 : List

See also

Ways to use realroots :

For the programmer

The object realroots is a method function with options.