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
___
NumPy-Discussion
On Thu, Jan 19, 2012 at 1:37 AM, Mark Bakker mark...@gmail.com wrote:
I noticed that swapaxes(0,1) is consistently (on my system) 10% faster than
transpose on a 2D matrix.
Transpose is faster for me. And a.T is faster than a.transpose()
perhaps because a.transpose() checks that the inputs make