#16964: Speed up comparisons in QQbar
-------------------------------------+-------------------------------------
       Reporter:  gagern             |        Owner:
           Type:  defect             |       Status:  positive_review
       Priority:  critical           |    Milestone:  sage-6.5
      Component:  number fields      |   Resolution:
       Keywords:  variety qqbar cmp  |    Merged in:
  singular                           |    Reviewers:  Vincent Delecroix
        Authors:  Martin von Gagern  |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  3f4afef46ab6a042cb2678394031cb5c26d89b1a
  u/vdelecroix/16964                 |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 Replying to [comment:24 vdelecroix]:
 > But I am not completely convinced that this is optimal. Do you know if
 there is a cheap way to assert if two roots of a given (irreducible)
 polynomial have the same real value?

 Using resultants, you can find a polynomial which has (a - b) as a root.
 And then you use interval arithmetic to find which root. Determining
 whether the imaginary parts are equal then is equivalent to checking
 whether a real polynomial has a pure imaginary root. The latter can
 probably be done using some Sturm-like algorithm.

--
Ticket URL: <http://trac.sagemath.org/ticket/16964#comment:30>
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