[Numpy-discussion] Call for a vote on .M .A .T .H attributes
Bruce Southey
bsouthey at gmail.com
Fri Jul 7 08:03:21 CDT 2006
On 7/6/06, Travis Oliphant <oliphant.travis at ieee.org> 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
-1 because I prefer what is already present although I would prefer
the option of inplace or a taking a copy. Also I don't find .T
particularly intuitive (for example, R and SAS IML have a t()
function - SAS IML also uses a backtick but that has not been very
portable).
>
> 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()
-/+0 I don't care either way.
>
>
> 3) .M returns matrix version of array
-1 as I think asmatrix etc is clearer.
>
>
> 4) .A returns basearray (useful for sub-classes).
-1 as I think something like asarray etc is clearer and require
explicit calling.
>
>
>
> -Travis
>
>
>
>
>
> 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion
>
More information about the Numpy-discussion
mailing list