[Numpy-discussion] scipy core now builds from svn

Travis Oliphant oliphant at ee.byu.edu
Thu Sep 15 12:15:39 EDT 2005


This is to officially announce that the new replacement for Numeric 
(scipy_core) is available at SVN.  Read permission is open to everyone 
so a simple checkout:

svn co http://svn.scipy.org/svn/scipy_core/branches/newcore newcore 

should get you the distribution that should install with

cd newcore
python setup.py install

I'm in the process of adding the linear algebra routines, fft, random, 
and dotblas from Numeric.  This should be done by the conference.    I 
will make a windows binary release for the SciPy conference, but not 
before then.

There is a script in newcore/scipy/base/convertcode.py  that will take 
code written for Numeric (or numerix) and convert it to code for the new 
scipy base object.  This code is not foolproof, but it takes care of the 
minor incompatibilities (a few search and replaces are done).   The 
compatibility issues are documented (mostly in the typecode characters 
and a few method name changes).   The one bigger incompatibility is that 
a.flat does something a little different (a 1-d iterator object).  The 
convert code script changes uses of a.flat that are not indexing or set 
attribute related to a.ravel()

C-code should build for the new system with a change of #include 
Numeric/arrayobject.h to  #include scipy/arrayobject.h  --- though you 
may want to enhance your code to take advantage of the new features (and 
more extensive C-API).

I also still need to add the following ufuncs:  isnan, isfinite, 
signbit, isinf, frexp, and ldexp.  This should not take too long.

-Travis O.













More information about the NumPy-Discussion mailing list