Travis Oliphant wrote: > This is a call for a vote on each of the math attributes. Please post > your vote as > > +1 : support > +0 : don't care so go ahead > -0 : don't care so why do it > -1 : against > > Vote on the following issues separately: > > 1) .T Have some kind of .T attribute > > If >0 on this then: > > a) .T == .swapaxes(-2,-1) > b) .T == .transpose() > c) .T raises error for ndim > 2 > d) .T returns (N,1) array for length (N,) array > e) .T returns self for ndim < 2
The fact that there are a, b, c, d, and e makes me fully -1 on this. In the face of ambiguity, refuse the temptation to guess. > 2) .H returns .T.conj() -1 > 3) .M returns matrix version of array -1 > 4) .A returns basearray (useful for sub-classes). -1 -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco 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