#4944: speed regression in finding roots over number fields when an embedding is
specified
------------------------------------------+---------------------------------
Reporter: ncalexan | Owner: was
Type: defect | Status: new
Priority: blocker | Milestone: sage-3.2.3
Component: number theory | Resolution:
Keywords: roots number field embedding |
------------------------------------------+---------------------------------
Comment (by mabshoff):
Nick,
this looks similar to #4723 and there is a patch from Carl. The patch over
there (which isn't merged yet) fixes the problem for me. Before I killed
it after 10 seconds CPU time, with the patch applied:
{{{
----------------------------------------------------------------------
| Sage Version 3.2.3.final, Release Date: 2009-01-02 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: time x = ZZ['x'].0; (x^2 + 1).roots(NumberField(x^2 - 106*x + 2789,
'a', embedding=CC.0))
CPU times: user 0.02 s, sys: 0.01 s, total: 0.03 s
Wall time: 0.03 s
sage: x = ZZ['x'].0; (x^2 + 1).roots(NumberField(x^2 - 106*x + 2789, 'a',
embedding=CC.0))
[]
}}}
Ironically the other issue was also reported by you :)
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4944#comment:1>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---