Re: [Numpy-discussion] switching from Numeric to numpy

2013-10-18 Thread Raul Cota
John, Just noticed this message, We are already cleaning up all of our code to not be numpy based but for porting from Numeric to numpy: In our C code we settled for the following, #define NUMPY #if !defined(NUMPY) #include arrayobject.h #else #include numpy/oldnumeric.h #endif

[Numpy-discussion] switching from Numeric to numpy

2013-10-07 Thread john fernando
I have the following C code which is an extension to my python code. The python and C code use #include Numeric/arrayobject.h what is the equivalent I can use in numpy that causes the minimum code change? I did look through the old messages but didn't really find the answer-any help to a

Re: [Numpy-discussion] switching from Numeric to numpy

2013-10-07 Thread Charles R Harris
On Mon, Oct 7, 2013 at 5:27 PM, john fernando fernand...@inbox.com wrote: I have the following C code which is an extension to my python code. The python and C code use #include Numeric/arrayobject.h what is the equivalent I can use in numpy that causes the minimum code change? I did