[Numpy-discussion] numpy speed question

Jean-Luc Menut jeanluc.menut@free...
Thu Nov 25 04:49:14 CST 2010


Le 25/11/2010 11:38, Sebastian Walter a écrit :
> using math.cos instead of numpy.cos should be much faster.
> I believe this is a known issue of numpy.

You're right, with math.cos, the code take 4.3s to run, not as fast as 
IDL, but a lot better.


More information about the NumPy-Discussion mailing list