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

2006-07-07 Thread Sebastian Haase
Travis Oliphant wrote: > 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: >> >> >> >

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

2006-07-07 Thread Charles R Harris
Does anyone use transpose for anything besides two dimensional arrays? For arrays that aren't matrices at heart the meaning of transpose is pretty arbitrary, so the only virtue I see in having an attribute would be less typeing. So put it in the documentation. As an aside, being able to specify axi

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

2006-07-07 Thread George Nurser
On 07/07/06, Travis Oliphant <[EMAIL PROTECTED]> 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)

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

2006-07-07 Thread Paul Barrett
On 7/7/06, Travis Oliphant <[EMAIL PROTECTED]> 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

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

2006-07-07 Thread Stefan van der Walt
On Thu, Jul 06, 2006 at 10:26:12PM -0600, Travis Oliphant wrote: > 1) .T Have some kind of .T attribute -1, since the expected behaviour of .T is different depending on problem context. >a) .T == .swapaxes(-2,-1) The fact that this was proposed just demonstrates the fact. If you have a (10

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

2006-07-07 Thread Robert Hetland
+11b) .T == .transpose() -1 all others On Jul 7, 2006, at 12:26 AM, 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 > > Vo

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

2006-07-07 Thread Paulo Jose da Silva e Silva
Em Qui, 2006-07-06 às 22:26 -0600, Travis Oliphant escreveu: > 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: > >

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

2006-07-07 Thread Bruce Southey
On 7/6/06, Travis Oliphant <[EMAIL PROTECTED]> 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

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

2006-07-07 Thread Ed Schofield
On 07/07/2006, at 6:26 AM, Travis Oliphant wrote: > 1) .T Have some kind of .T attribute -1 The meaning of .T is unclear for ndim != 2, as the plethora of sub- vote options shows. And we already have a matrix object designed explicitly for the case ndim == 2. Let's make matrix objects more

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

2006-07-07 Thread Sven Schreiber
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) .

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

2006-07-06 Thread Bill Baxter
On 7/7/06, Travis Oliphant <[EMAIL PROTECTED]> 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 <

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

2006-07-06 Thread Sasha
On 7/7/06, Travis Oliphant <[EMAIL PROTECTED]> wrote: > 1) .T Have some kind of .T attribute > -1 (but -0 if raises an error if ndim != 2) >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) arra

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

2006-07-06 Thread Robert Kern
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

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

2006-07-06 Thread Travis Oliphant
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 attribut

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

2006-07-06 Thread Travis Oliphant
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 == .swa