[SciPy-user] matrix multiplication efficiency

Chiara Caronna chiaracaronna at hotmail.com
Thu Mar 27 13:32:16 EDT 2008


Hi,I hope this is the right mailing list.I need to perform matrix multiplication with big matrices and I realized that numpy is much slower with compared to matlab? does anyone know why?for example to multiply two perform this calculationa= matrix 2000x10000b= matrix 10000x2000c=a x b (c matrix 2000 x 2000)it takes roughly 100-300 sec, depending on the pc...while on matlab it is almost instantaneous...what can I do?This is my python installation:Python 2.5.1 (r251:54863, Mar  7 2008, 04:10:12) 
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.__version__
'1.0.3'
>>> 

_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx


More information about the SciPy-User mailing list