[Numpy-discussion] Functions for indexing into certain parts of an array (2d)

Alan G Isaac aisaac@american....
Sat Jun 6 18:34:14 CDT 2009


On 6/6/2009 6:39 PM Robert Kern apparently wrote:
> Ah, that's the beauty of .flat; it takes care of that for you. .flat
> is not a view onto the memory directly. It is a not-quite-a-view onto
> what the memory *would* be if the array were contiguous and the memory
> directly reflected the layout as seen by Python.


Aha.  Thanks!
Alan




More information about the Numpy-discussion mailing list