#4768: magma -- speed up conversion of integer, rational and modn matrices from
sage to magma
------------------------+---------------------------------------------------
 Reporter:  was         |        Owner:  was       
     Type:  defect      |       Status:  new       
 Priority:  major       |    Milestone:  sage-3.2.2
Component:  interfaces  |   Resolution:            
 Keywords:              |  
------------------------+---------------------------------------------------
Comment (by was):

 Here is a before and after over ZZ:
 BEFORE:
 {{{
 sage: v = random_matrix(ZZ,1000)
 sage: time k = magma(v)
 CPU times: user 17.03 s, sys: 0.43 s, total: 17.47 s
 Wall time: 18.88 s
 }}}

 AFTER:
 {{{
 sage: m = random_matrix(ZZ,1000,x=0,y=17)
 sage: time w = magma(m)
 CPU times: user 0.18 s, sys: 0.10 s, total: 0.28 s
 Wall time: 1.68 s
 }}}

 Here is a before/after over the rational numbers:
 BEFORE:
 {{{
 sage: m = random_matrix(QQ,1000)
 sage: time k = magma(m)
 CPU times: user 9.41 s, sys: 0.39 s, total: 9.80 s
 Wall time: 11.60 s
 }}}
 AFTER:
 {{{
 ge: m = random_matrix(QQ,1000)
 sage: time k = magma(m)
 CPU times: user 0.48 s, sys: 0.16 s, total: 0.64 s
 Wall time: 1.16 s
 }}}

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