Re: [Numpy-discussion] ownership of numpy arrays

2007-01-17 Thread Travis Oliphant
josh kantor wrote: >I am working on a project where I am doing some interfacing with numpy >arrays at a C level. > >One thing that I want to do (using pyrex) is to call numpy functions, then >directly access the underlying double * array of the resulting ndarray and >operate on it in C/pyrex (I

Re: [Numpy-discussion] ownership of numpy arrays

2007-01-17 Thread Francesc Altet
El dc 17 de 01 del 2007 a les 03:54 -0700, en/na josh kantor va escriure: > I am working on a project where I am doing some interfacing with numpy > arrays at a C level. > > One thing that I want to do (using pyrex) is to call numpy functions, then > directly access the underlying double * array

[Numpy-discussion] ownership of numpy arrays

2007-01-17 Thread josh kantor
I am working on a project where I am doing some interfacing with numpy arrays at a C level. One thing that I want to do (using pyrex) is to call numpy functions, then directly access the underlying double * array of the resulting ndarray and operate on it in C/pyrex (I don't want to copy it). I