NumPy and Numarray

François Pinard pinard at iro.umontreal.ca
Sun Dec 1 20:00:16 EST 2002


[Ali K]

> What is the difference between NumPy and Numarray?  Which is better?

>From what I've read (I did not try Numarray yet), Numarray is meant to
be better than NumPy in the long run, but it is still young and not
fully featured yet.  In particular, people reported that Numarray is
significantly slower than NumPy as it currently stands.

NumPy already had a long life and is said to be quite dependable,
yet it may crash Python if not used correctly.  Since it often crashes
on me, I guess there is something fundamental I'm still missing :-).
Nevertheless, from the documentation and some little experiments, it
seems like a wonderful tool to me.

Numarray is also meant to be pretty compatible with NumPy, and this has
been decided after a lot of discussions among developers.  My bet would
be that NumPy is the way to go for now, with the plan of switching to
Numarray once Numarray will be fully ready to take over NumPy.

-- 
François Pinard   http://www.iro.umontreal.ca/~pinard





More information about the Python-list mailing list