#17895: Computing all roots is faster than computing a single one
-------------------------------------------------+-------------------------
       Reporter:  gagern                         |        Owner:
           Type:  defect                         |       Status:  new
       Priority:  major                          |    Milestone:  sage-6.6
      Component:  number fields                  |   Resolution:
       Keywords:  qqbar polynomial_root roots    |    Merged in:
  performance                                    |    Reviewers:
        Authors:                                 |  Work issues:
Report Upstream:  N/A                            |       Commit:
         Branch:                                 |     Stopgaps:
   Dependencies:                                 |
-------------------------------------------------+-------------------------

Comment (by pernici):

 If the interval is close to the root, ``QQbar.polynomial_root` is fast

 {{{
 sage: z1
 0.7745442035157198? - 0.07841573936877289?*I
 sage: ival = CIF((0.77454420351571, 0.77454420351572),
 (-0.078415739368773, -0.078415739368772))
 sage: %time z2 = QQbar.polynomial_root(p4, ival); z2._more_precision()
 Wall time: 26.7 ms
 sage: z2
 0.7745442035157198? - 0.07841573936877289?*I
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/17895#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to