[Numpy-discussion] Call for a vote on .M .A .T .H attributes

Travis Oliphant oliphant.travis at ieee.org
Thu Jul 6 23:26:12 CDT 2006

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

2) .H  returns .T.conj()

3) .M  returns matrix version of array

4) .A  returns basearray (useful for sub-classes).


More information about the Numpy-discussion mailing list