#5402: Sparse determinants are slow
----------------------------------+-----------------------------------------
Reporter: jbandlow | Owner: was
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-5.6
Component: linear algebra | Resolution:
Keywords: determinant | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
----------------------------------+-----------------------------------------
Changes (by kcrisman):
* status: needs_review => needs_work
Comment:
I wouldn't say that it's fixed. Note the comparison is better but still
they are not that close.
{{{
sage: dd = {(0,0):1}
sage: %timeit matrix(8,dd).det()
5 loops, best of 3: 2.83 ms per loop
sage: %timeit matrix(8,dd,sparse = False).det()
625 loops, best of 3: 147 µs per loop
sage: %timeit matrix(100,dd).det()
5 loops, best of 3: 228 ms per loop
sage: %timeit matrix(100,dd,sparse = False).det()
25 loops, best of 3: 15.2 ms per loop
}}}
It's just that everything is faster now. How much faster would Moore's
law say these should be after four years?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5402#comment:5>
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.