#6968: improve _vector_times_matrix
----------------------------+-----------------------------------------------
 Reporter:  ylchapuy        |       Owner:  was               
     Type:  defect          |      Status:  new               
 Priority:  major           |   Milestone:  sage-4.1.2        
Component:  linear algebra  |    Keywords:                    
 Reviewer:                  |      Author:  Yann Laigle-Chapuy
   Merged:                  |  
----------------------------+-----------------------------------------------

Comment(by ylchapuy):

 for the record:

 before:
 {{{
 sage: m=identity_matrix(1000,sparse=True)
 sage: v=vector([1]*1000,sparse=True)
 sage: time p = v*m
 CPU times: user 2.26 s, sys: 0.00 s, total: 2.26 s
 Wall time: 2.26 s
 }}}

 after:
 {{{
 sage: m=identity_matrix(1000,sparse=True)
 sage: v=vector([1]*1000,sparse=True)
 sage: time p = v*m
 CPU times: user 0.20 s, sys: 0.00 s, total: 0.20 s
 Wall time: 0.21 s
 }}}

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