[Numpy-discussion] Matlab -> NumPy translation and indexing

David Koch ogdude@googlemail....
Wed Mar 14 09:24:35 CDT 2007

On 3/14/07, Sven Schreiber <svetosch@gmx.net> wrote:
> If you want a 1d-array in the end you could try empty(0) to start with,
> and then do hstack((A, your_scalar)) or something like that.

Yeah, that works - odd, I thought concatenate((a,b),0) == hstack((a,b))


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20070314/f0dc5b28/attachment.html 

More information about the Numpy-discussion mailing list