Numarray vs Numpy

Fernando Pérez fperez528 at yahoo.com
Mon Jul 8 12:57:10 EDT 2002


Shagshag13 wrote:

> Which one is the best ?
> 
> thanks
> 
> s13.

numarray is a rewrite of numpy. As such it will address some flaws of numpy's 
design which have been understood over the last few years of its extensive 
use in science. But beware that in order to do that, numarray's designers 
will be forced into breaking compatibility with numpy. So while _most_ numpy 
code will work with numarray, some critical things will not.

Also consider that at this time, numarray is still in early development and 
not considered production ready by any means. So if you need it for 
production code, I'd suggest going with numpy and living with some of its 
limitations. But numarray, once it comes out stable, will be a replacement 
for numpy with some very nice improvements (fine-grained control of hardware 
floating point exceptions comes to mind as a major blessing).

cheers,

f.



More information about the Python-list mailing list