[Numpy-discussion] numpy release
Alan G Isaac
Thu Apr 24 17:29:44 CDT 2008
On Thu, 24 Apr 2008, Christopher Barker apparently wrote:
> I suppose a "Vector" can be either a (n,1) or a (1,n)
> matrix that allows single indexing.
This bothers me.
So, if X is 2 by 2, then X will be a row vector.
But if X is 1 by 2, then X will be a scalar?
Bye bye generic code.
Or are you still having separate classes and
not just changing ``__getitem__``? OK, I see
that is most likely what you meant.
More information about the Numpy-discussion