[Numpy-discussion] swaxes(0, 1) 10% faster than transpose on 2D matrix?
Mark Bakker
markbak@gmail....
Thu Jan 19 03:37:00 CST 2012
Hello List,
I noticed that swapaxes(0,1) is consistently (on my system) 10% faster than
transpose on a 2D matrix.
Any reason why? Any reason why the swapaxes algorithm is not used in
transpose?
Just wondering. Thanks,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120119/00cfbeba/attachment.html
More information about the NumPy-Discussion
mailing list