[Numpy-discussion] Matlab -> NumPy translation and indexing
David Koch
ogdude at googlemail.com
Wed Mar 14 10:24:35 EDT 2007
On 3/14/07, Sven Schreiber <svetosch at 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))
Thanks
/David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20070314/f0dc5b28/attachment.html>
More information about the NumPy-Discussion
mailing list