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[0] will be a row vector.
But if X is 1 by 2, then X[0] will be a scalar?
Ouch!
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.

Cheers,
Alan




_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to