[Numpy-discussion] untenable matrix behavior in SVN

Travis E. Oliphant oliphant@enthought....
Tue Apr 29 16:48:06 CDT 2008

> I am puzzled by this. What is the rationale for x[i,:] not being a 1-d
> object? Does this not require many special-case bits of code as well?
> What about a[i,...]? That is what I would use to make a hierarchical
> bit of code, and I would be startled to find myself in an infinite
> loop waiting for the dimension to become one.

The rationale is so you can write

x[i,:] * A * x[:,i]

and have it work correctly without the RowVector / ColumnVector objects. 

Maybe it's just easier to create them and be done with it.  But, nobody 
has yet, so I'm not sure.


More information about the Numpy-discussion mailing list