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.
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to