Re: [Numpy-discussion] Constructing an array from memory address

2006-10-10 Thread Travis Oliphant
Daniel Drake wrote: >Hi, > >I have an area of memory which is shared between processes (it is >actually a shared memory segment). The address of this memory is stored >in a python long variable, which I pass to various custom C/C++ python >modules. > >I would like to construct a numpy array in thi

[Numpy-discussion] Constructing an array from memory address

2006-10-10 Thread Daniel Drake
Hi, I have an area of memory which is shared between processes (it is actually a shared memory segment). The address of this memory is stored in a python long variable, which I pass to various custom C/C++ python modules. I would like to construct a numpy array in this area. Is there any way I ca