#5518: [with patch, positive review] Improve efficiency of 
multiplicative_order()
for number field elements
---------------------------+------------------------------------------------
 Reporter:  cremona        |       Owner:  was                              
     Type:  enhancement    |      Status:  new                              
 Priority:  major          |   Milestone:  sage-3.4.1                       
Component:  number theory  |    Keywords:  number field multiplicative order
---------------------------+------------------------------------------------
Changes (by fwclarke):

  * priority:  minor => major


Comment:

 This is excellent.  A great speed up, and it gives the right answer!

 I would suggest adding the doctest
 {{{
 sage: K.<a, b> = NumberField([x^2 + x + 1, x^2 - 3])
 sage: z = (a - 1)*b/3
 sage: z.multiplicative_order()
 12
 }}}
 because sage-3.4 says the order is `+infinity`.

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