#4533: [with patch; needs review] divisors function slow for integers
----------------------+-----------------------------------------------------
 Reporter:  robertwb  |        Owner:  tbd       
     Type:  defect    |       Status:  new       
 Priority:  major     |    Milestone:  sage-3.2.1
Component:  algebra   |   Resolution:            
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by robertwb):

 Note that this works for more than integers now too:

 {{{
 sage: K.<a> = QuadraticField(7)
 sage: divisors(K.ideal(7))
 [1, Fractional ideal (-a), Fractional ideal (7)]
 sage: divisors(K.ideal(3))
 [1, Fractional ideal (a - 2), Fractional ideal (-a - 2), Fractional ideal
 (3)]
 sage: divisors(K.ideal(35))
 [1, Fractional ideal (5), Fractional ideal (-a), Fractional ideal (-5*a),
 Fractional ideal (7), Fractional ideal (35)]
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4533#comment:3>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to