[Numpy-discussion] Call for a vote on .M .A .T .H attributes
Bill Baxter
wbaxter at gmail.com
Fri Jul 7 01:29:06 CDT 2006
On 7/7/06, Travis Oliphant <oliphant.travis at ieee.org> wrote:
>
>
> 1) .T Have some kind of .T attribute
+1
If >0 on this then:
>
> a) .T == .swapaxes(-2,-1)
+1
b) .T == .transpose()
+0
c) .T raises error for ndim > 2
+0
d) .T returns (N,1) array for length (N,) array
+1
e) .T returns self for ndim < 2
+0
2) .H returns .T.conj()
+1
3) .M returns matrix version of array
-1
4) .A returns basearray (useful for sub-classes).
+0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20060707/800696c2/attachment-0001.html
More information about the Numpy-discussion
mailing list