[Numpy-discussion] Re: Freeing memory allocated in C
Robert Kern
robert.kern at gmail.com
Fri Apr 28 16:43:18 EDT 2006
Nick Fotopoulos wrote:
> I'm curious why I didn't see any explanation of PyArray_DATA in the
> NumPy book. It seems really important, especially if you're touting it
> as the Proper Strategy.
Section 13.3 talks about PyArray_DATA.
> Finally, Robert encouraged me to stop using the legacy interface. I'm
> happy to do so, but I have to cater to my users. Approximately old a
> version of Numeric (and Numarray) will still work with PyArray_SimpleNew?
None. It is new to Numpy. The old way would be to use PyArray_FromDims.
--
Robert Kern
robert.kern at gmail.com
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the NumPy-Discussion
mailing list