[Numpy-discussion] matrix default to column vector?

Alan G Isaac aisaac@american....
Sat Jun 6 10:29:20 CDT 2009


On 6/6/2009 12:41 AM Charles R Harris apparently wrote:
> Well, one could argue that. The x.T is a member of the dual, hence maps 
> vectors to the reals. Usually the reals aren't represented by 1x1 
> matrices. Just my [.02] cents. 

Of course that same perspective could
lead you to argue that a M×N matrix
is for mapping N vectors to M vectors,
not for doing matrix multiplication.

Matrix multiplication produces a
matrix result **by definition**.
Treating 1×1 matrices as equivalent
to scalars is just a convenient anomaly
in certain popular matrix-oriented
languages.

Cheers,
Alan Isaac




More information about the Numpy-discussion mailing list