[Numpy-discussion] Latest Array-Interface PEP

Robert Kern robert.kern at gmail.com
Fri Jan 5 14:37:12 EST 2007


Neal Becker wrote:

> I'm thinking that a buffer is just an interface to memory, and that the
> interpretation as an array of n-dimensions, for example, is best left to
> the application.  I might want to at one time view the data as
> n-dimensional, but at another time as 1-dimensional, for example.

Sure, but you need a standard way to communicate that extra information between
different parts of your code and also between different third party libraries.
That is what this PEP intends to provide.

-- 
Robert Kern

"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