[Numpy-discussion] matrix default to column vector?

Alan G Isaac aisaac at american.edu
Sat Jun 6 14:50:46 EDT 2009

On 6/6/2009 2:03 PM Charles R Harris apparently wrote:
> So is eye(3)*(v.T*v) valid? If (v.T*v) is 1x1 you have incompatible
> dimensions for the multiplication

Exactly.  So it is not valid.  As you point out, to make it valid
implies a loss of the associativity of matrix multiplication.
Not a good idea!


More information about the NumPy-Discussion mailing list