[Numpy-discussion] Broadcasting question

Christopher Barker Chris.Barker@noaa....
Fri May 2 11:25:50 CDT 2008


Charles R Harris wrote:
> A1 += A2[:,:,newaxis] is one way.

Exactly what I was looking for -- thanks Charles (and Ann)

-Chris

-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker@noaa.gov


More information about the Numpy-discussion mailing list