[Numpy-discussion] NumPy EIG much slower than MATLAB EIG

Olivier Grisel olivier.grisel@ensta....
Mon Apr 2 11:41:24 CDT 2012

Le 2 avril 2012 18:36, Frédéric Bastien <nouiz@nouiz.org> a écrit :
> numpy.random are not optimized. If matlab use the random number from
> mkl, they will be much faster.

In that case this is indeed negligible:

In [1]: %timeit np.random.randn(2000, 2000)
1 loops, best of 3: 306 ms per loop

http://twitter.com/ogrisel - http://github.com/ogrisel

More information about the NumPy-Discussion mailing list