#8096: Speed up parent creation for multiplication of square matrices
---------------------------------------+------------------------------------
   Reporter:  boothby                  |          Owner:  boothby          
       Type:  enhancement              |         Status:  needs_info       
   Priority:  minor                    |      Milestone:                   
  Component:  linear algebra           |       Keywords:                   
Work_issues:  various doc test errors  |       Upstream:  N/A              
   Reviewer:                           |         Author:  boothby, robertwb
     Merged:                           |   Dependencies:                   
---------------------------------------+------------------------------------

Comment(by SimonKing):

 Martin, I just found that M4RIE just needs 10.42 seconds resp. 8.78
 seconds on my computer for multiplying two random 5000x5000 matrices over
 GF(64).

 {{{
 sage: MS = MatrixSpace(GF(64,'a'),5000,5000)
 sage: A = MS.random_element()
 sage: type(A)
 <type 'sage.matrix.matrix_mod2e_dense.Matrix_mod2e_dense'>
 sage: B = MS.random_element()
 sage: %time C = A*B
 CPU times: user 10.42 s, sys: 0.15 s, total: 10.56 s
 Wall time: 10.60 s
 sage: %time C = A._mult
 A._multiply_classical  A._multiply_karatsuba  A._multiply_strassen
 A._multiply_travolta
 sage: %time C = A._multiply_travolta(B)
 CPU times: user 8.73 s, sys: 0.02 s, total: 8.75 s
 Wall time: 8.78 s
 }}}

 That's awesome! For these particular matrices, the Meataxe fork needs
 85.26 seconds. Hopefully I'll be able to review #9562 tomorrow.

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