[SciPy-dev] sparse matrix multiplication - poor performance

Joachim Dahl dahl.joachim at gmail.com
Thu Dec 7 09:14:52 CST 2006


> That appears to be an aberrant result, I get:
>
> >> A = speye(10000);
> >> tic; B = A*A; toc;
> Elapsed time is 0.003558 seconds.
> >> tic; B = 3*A; toc;
> Elapsed time is 0.020551 seconds.
> >> A = speye(10000);
> >> tic; B = A*A; toc;
> Elapsed time is 0.003411 seconds.
> >> tic; B = 3*A; toc;
> Elapsed time is 0.000564 seconds.
>
> Can you reproduce your results?


yes, this happens consistently for me with Matlab 7.2.0.294 on a Linux P4
computer.



--
> Nathan Bell wnbell at gmail.com
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-dev/attachments/20061207/546a85d2/attachment.html 


More information about the Scipy-dev mailing list