[Numpy-discussion] Numpy Positional Array

Robert Kern robert.kern@gmail....
Tue Mar 31 19:48:25 CDT 2009


2009/3/31 Ian Mallett <geometrian@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