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

Sven Schreiber svetosch at gmx.net
Fri Jul 7 03:40:36 CDT 2006


Travis Oliphant schrieb:

> 
> 1) .T  Have some kind of .T attribute
> 

+0
(the discussion in the .T thread convinced me it's better to keep the
matrix playground as a separate subclass, and so it's not important for
me what happens with pure arrays)

> 
> 2) .H  returns .T.conj()

+0
> 
> 
> 3) .M  returns matrix version of array

+1 !!
(Either that, or I will soon get on your nerves demanding matrix
versions of ones, zeros, rand, eye etc.!)

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

+0 ? (Already exists for matrix, doesn't it?)

-sven




More information about the Numpy-discussion mailing list