[Numpy-discussion] How do I use numpy to do this? (original) (raw)
Christopher Barker Chris.Barker at noaa.gov
Thu Jun 1 17:41:36 EDT 2006
- Previous message (by thread): [Numpy-discussion] Re: How do I use numpy to do this?
- Next message (by thread): [Numpy-discussion] How do I use numpy to do this?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Charlie Moad wrote:
pts = mgrid[minx:maxx,miny:maxy].transpose() pts.reshape(pts.size/2, 2)
Thanks everyone -- yet another reason to dump support for the older num* packages.
-Chris
-- Christopher Barker, Ph.D. Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception
- Previous message (by thread): [Numpy-discussion] Re: How do I use numpy to do this?
- Next message (by thread): [Numpy-discussion] How do I use numpy to do this?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]