On 10/8/07, Gael Varoquaux <[EMAIL PROTECTED]> wrote:
>
> r_[0:10] and c_[0:10].
>
> Does that suit you ? The first one is indeed only 1D, but I don't see the
> problem with that. If you really want 2D you can use c_[0:10].T .


Thanks, but not really :)

Firstly - for me I don' see any difference between the two, they both give a
numpy rank-1 array which doesn't have a row/column characteristic.
x.shape for both of the above is (10,) I need (10,1) or (1,10) for my code.

Robin
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to