[SciPy-user] Getting the right numerical libraries for scipy

Stéfan van der Walt stefan@sun.ac...
Fri Apr 3 06:13:17 CDT 2009

2009/4/2 William K. Coulter <wcoulter@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:


This seems odd.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bench_sparse.py
Type: text/x-python-script
Size: 1130 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