[Numpy-discussion] Efficiently defining a multidimensional array

Charles R Harris charlesr.harris@gmail....
Thu Aug 27 18:00:35 CDT 2009

On Thu, Aug 27, 2009 at 3:32 PM, Citi, Luca <lciti@essex.ac.uk> wrote:

> Or
> a[:,:,None] + b[:,None,:]

I think that is the way to go.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090827/c2ff7355/attachment.html 

More information about the NumPy-Discussion mailing list