[Numpy-discussion] NumPy EIG much slower than MATLAB EIG
Mon Apr 2 04:57:48 CDT 2012
Changing the array to Fortran order using numpy.ndarray.T does not help
much in my machine. But, this may be important since the LAPACK routines
are written in Fortran 90.
On 2 April 2012 12:25, Nathaniel Smith <email@example.com> wrote:
> To see if this is an effect of numpy using C-order by default instead of
> Fortran-order, try measuring eig(x.T) instead of eig(x)?
> On Apr 1, 2012 2:28 PM, "Kamesh Krishnamurthy" <firstname.lastname@example.org> wrote:
>> Hello all,
>> I profiled NumPy EIG and MATLAB EIG on the same Macbook pro, and both
>> were linking to the Accelerate framework BLAS. NumPy turns out to be ~4x
>> slower. I've posted details on Stackoverflow:
>> Can someone please let me know the reason for the performance gap?
>> NumPy-Discussion mailing list
> NumPy-Discussion mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion