On Jul 6, 2006, at 2:54 PM, Robert Kern wrote:

I don't think that just because arrays are often used for linear algebra that 

linear algebra assumptions should be built in to the core array type.


True.  This argues against the MAH attributes.  

However, I use transpose often when not dealing with linear algebra, in particular with reading in data, and putting various columns into variables.  Also, occasional in plotting (which expects things in 'backward' order relative to x-y space), and communicating between fortran programs (which typically use 'forward' order (x, y, z)) and numpy (backward -- (z, x, y)).

I am very much in favor of .T, but it should be a full .transpose(), not just swap the last two axes.  I don't care so much for the others.

+1 for .T == .transpose()

-Rob

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to