Re: [Numpy-discussion] performance solving system of equations in numpy and MATLAB

2015-12-17 Thread Gregory Lee
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

Re: [Numpy-discussion] Change default order to Fortran order

2015-08-03 Thread Gregory Lee
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