On Thu, Jul 06, 2006 at 10:26:12PM -0600, Travis Oliphant wrote:
> 1) .T  Have some kind of .T attribute

-1, since the expected behaviour of .T is different depending on
problem context.

>    a) .T == .swapaxes(-2,-1)

The fact that this was proposed just demonstrates the fact.  If you
have a (10,5) array, .T gives the expected (5,10) array.  But if you
have a (10,10,3) RGB image as an ndarray, .T gives a (10,3,10)
array... which is certainly not what you'd expect in an image
processing context.

Stéfan

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to