#5402: Sparse determinants are slow
----------------------------+-----------------------------------------------
 Reporter:  jbandlow        |       Owner:  was        
     Type:  enhancement     |      Status:  new        
 Priority:  major           |   Milestone:  sage-3.4.2 
Component:  linear algebra  |    Keywords:  determinant
----------------------------+-----------------------------------------------
 The following timings should be able to be improved.
 {{{
        sage: dd = {(0,0):1}
        sage: %timeit matrix(8,dd).det()
        10 loops, best of 3: 213 ms per loop
        sage: %timeit matrix(8,dd,sparse = False).det()
        100 loops, best of 3: 629 µs per loop
 }}}
 William suggested:
 Likely the fix will be to implement
 a 1-line function that is just
 {{{
   return self.dense_matrix().det(*args, **kwds)
 }}}
 until there is somebody who wants to implement a sparse algorithm.

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