#2705: random_matrix with sparse=True is very slow
------------------------------+---------------------------------------------
Reporter: dfdeshom | Owner: was
Type: enhancement | Status: needs_info
Priority: major | Milestone: sage-4.7.1
Component: linear algebra | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
------------------------------+---------------------------------------------
Comment(by ryan):
Well...apparently density=.05 is too dense for a 2000x2000 matrix
{{{
sage: time A = random_matrix(QQ, 2000, density=.01, sparse=True)
Time: CPU 2.17 s, Wall: 2.82 s
sage: time A = random_matrix(QQ, 2000, density=.01, sparse=False)
Time: CPU 3.25 s, Wall: 3.57 s
}}}
However, sparse matrices in sage are in need of some tender loving care
(according to some other sage devs)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/2705#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.