-
-
Notifications
You must be signed in to change notification settings - Fork 489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
random_matrix with sparse=True is very slow #2705
Comments
comment:2
could it have anything to do with the fact that a random matrix is not sparse in nature? |
This comment has been minimized.
This comment has been minimized.
comment:4
I noted that even when we specify the density of nonzero entries, a sparse matrix still takes a significant amount of time.
|
comment:5
Well...apparently density=.05 is too dense for a 2000x2000 matrix
However, sparse matrices in sage are in need of some tender loving care (according to some other sage devs) |
Changed keywords from none to sd31 |
Seems reasonable to me in sage 10.0.beta3
I propose to close as won't fix. |
In 10.2.beta1:
So still a difference. This goes away as the density drops:
I think we can close this. |
Creating a 2000x2000 full matrix is much faster than creating a 500x500 sparse matrix:
Component: linear algebra
Keywords: sd31
Issue created by migration from https://trac.sagemath.org/ticket/2705
The text was updated successfully, but these errors were encountered: