On Nov 13, 2008, at 6:35 AM, Uwe Schmitt wrote: > Hi, > > is there a fast and simple way to convert a given > chunk of memory to a coresponding numpy array ? > Or do I have to construct the array entry by entry ?
You can grab the numpy underlying data as a void* and do a memcpy. Perhaps you can even avoid the memcpy, but I'm not sure. - Robert _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
