[Numpy-discussion] Numpy Positional Array

Robert Kern robert.kern at gmail.com
Tue Mar 31 20:48:25 EDT 2009


2009/3/31 Ian Mallett <geometrian at gmail.com>:
> The array follows a pattern: each array of length 2 represents the x,y index
> of that array within the larger array.

Ah, right. Use dstack(mgrid[0:n,0:n]).

-- 
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