[Numpy-discussion] matrix default to column vector?
Thu May 21 08:10:14 CDT 2009
By default, it looks like a 1-dim ndarray gets converted to a row vector by
the matrix constructor. This seems to lead to some odd behavior such as
a yielding the 2nd element as an ndarray and throwing an IndexError as a
matrix. Is it possible to set a flag to make the default be a column
Research Scientist, ITA Software
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion