Hi,
I just ran both on the same hardware and got a slightly faster computation
with numpy:
Matlab R2012a: 16.78 s (best of 3)
numpy (python 3.4, numpy 1.10.1, anaconda accelerate (MKL)): 14.8 s (best
of 3)
The difference could because my Matlab version is a few years old, so it's
MKL would b
I agree that often you don't need to worry about the memory order.
However, it is not uncommon in medical imaging to go back and forth between
a 2D or 3D image representation and a 1D array representation (e.g. as
often used in image reconstruction algorithms). I found that the main time
it was ne