[SciPy-user] Getting the right numerical libraries for scipy
Stéfan van der Walt
stefan at sun.ac.za
Fri Apr 3 07:13:17 EDT 2009
2009/4/2 William K. Coulter <wcoulter at berkeley.edu>:
>
> I wanted to optimize my python code to use the scipy.sparse library;
> however, benchmarking reveals that multiplying a sparse and dense matrix
> takes over 100 times as long as multiplying the equivalent two dense
> matrices.
I did some benchmarks now (see attached), and I see the same behaviour:
http://mentat.za.net/refer/bench_sparse.png
This seems odd.
Regards
Stéfan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bench_sparse.py
Type: text/x-python-script
Size: 1131 bytes
Desc: not available
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20090403/5575ba42/attachment.bin>
More information about the SciPy-User
mailing list