Re: [Numpy-discussion] reduction

2007-01-09 Thread Travis Oliphant
Charles R Harris wrote: > > > On 1/8/07, *Robert Kern* <[EMAIL PROTECTED] > > wrote: > > lorenzo bolla wrote: > > ops. I did it, too. > > should I delete it?? how?? > > I closed it as a duplicate. As a nondeveloper, you don't have the > permissions to

Re: [Numpy-discussion] reduction

2007-01-09 Thread Travis Oliphant
Charles R Harris wrote: > > > On 1/8/07, *Robert Kern* <[EMAIL PROTECTED] > > wrote: > > lorenzo bolla wrote: > > ops. I did it, too. > > should I delete it?? how?? > > I closed it as a duplicate. As a nondeveloper, you don't have the > permissions to

Re: [Numpy-discussion] reduction

2007-01-09 Thread Travis Oliphant
Charles R Harris wrote: > > > On 1/8/07, *Robert Kern* <[EMAIL PROTECTED] > > wrote: > > lorenzo bolla wrote: > > ops. I did it, too. > > should I delete it?? how?? > > I closed it as a duplicate. As a nondeveloper, you don't have the > permissions to

Re: [Numpy-discussion] reduction

2007-01-09 Thread Charles R Harris
On 1/8/07, Robert Kern <[EMAIL PROTECTED]> wrote: lorenzo bolla wrote: > ops. I did it, too. > should I delete it?? how?? I closed it as a duplicate. As a nondeveloper, you don't have the permissions to close tickets yourself. Now that this bug is closed, maybe we should make another point r

Re: [Numpy-discussion] reduction

2007-01-08 Thread Robert Kern
lorenzo bolla wrote: > ops. I did it, too. > should I delete it?? how?? I closed it as a duplicate. As a nondeveloper, you don't have the permissions to close tickets yourself. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by

Re: [Numpy-discussion] reduction

2007-01-08 Thread lorenzo bolla
ops. I did it, too. should I delete it?? how?? thanks! On 1/8/07, Charles R Harris <[EMAIL PROTECTED]> wrote: On 1/8/07, Charles R Harris <[EMAIL PROTECTED]> wrote: > > > > On 1/8/07, lorenzo bolla < [EMAIL PROTECTED]> wrote: > > > > Well, I don't know if we should consider it a bug, but it d

Re: [Numpy-discussion] reduction

2007-01-08 Thread Charles R Harris
On 1/8/07, Charles R Harris <[EMAIL PROTECTED]> wrote: On 1/8/07, lorenzo bolla <[EMAIL PROTECTED]> wrote: > > Well, I don't know if we should consider it a bug, but it definetely > behaves not as expected by the standard "reduce", right? > I'm very happy to help: just tell me how to "file a t

Re: [Numpy-discussion] reduction

2007-01-08 Thread Robert Kern
lorenzo bolla wrote: > I'm very happy to help: just tell me how to "file a ticket"! (what does > it mean, by the way?). Don't worry. I took care of it. http://projects.scipy.org/scipy/numpy/ticket/413 -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma

Re: [Numpy-discussion] reduction

2007-01-08 Thread Charles R Harris
On 1/8/07, lorenzo bolla <[EMAIL PROTECTED]> wrote: Well, I don't know if we should consider it a bug, but it definetely behaves not as expected by the standard "reduce", right? I'm very happy to help: just tell me how to "file a ticket"! (what does it mean, by the way?). thanks! Go to http:/

Re: [Numpy-discussion] reduction

2007-01-08 Thread Lou Pecora
Sounds like a problem when the operation is a noncommuntative one. Maybe that would narrow down the bug problem. I.e. Reduce expects A op B = B op A, where op is any operation Just a thought. --- lorenzo bolla <[EMAIL PROTECTED]> wrote: > oh, I forgot. It happens with "divide", too. > lo

Re: [Numpy-discussion] reduction

2007-01-08 Thread Robert Kern
Charles R Harris wrote: > Or maybe not a bug. It depends on what reduce means for this operation. > So either a bug or something that could use a bit of documentation. Numeric gives the expected answer, so this is a bug in numpy. -- Robert Kern "I have come to believe that the whole world is an

Re: [Numpy-discussion] reduction

2007-01-08 Thread lorenzo bolla
oh, I forgot. It happens with "divide", too. lorenzo. On 1/8/07, Charles R Harris <[EMAIL PROTECTED]> wrote: On 1/8/07, Charles R Harris <[EMAIL PROTECTED]> wrote: > > > > On 1/8/07, lorenzo bolla < [EMAIL PROTECTED]> wrote: > > > > Hello all! > > I'm fairly new to Numpy and, while experime

Re: [Numpy-discussion] reduction

2007-01-08 Thread lorenzo bolla
Well, I don't know if we should consider it a bug, but it definetely behaves not as expected by the standard "reduce", right? I'm very happy to help: just tell me how to "file a ticket"! (what does it mean, by the way?). thanks! lorenzo. On 1/8/07, Charles R Harris <[EMAIL PROTECTED]> wrote:

Re: [Numpy-discussion] reduction

2007-01-08 Thread Charles R Harris
On 1/8/07, Charles R Harris <[EMAIL PROTECTED]> wrote: On 1/8/07, lorenzo bolla <[EMAIL PROTECTED]> wrote: > > Hello all! > I'm fairly new to Numpy and, while experimenting, I found a strange (i.e. > not expected by me!) behaviour of arrays. > I tried this (in comment what I get): > > x = aran

Re: [Numpy-discussion] reduction

2007-01-08 Thread Charles R Harris
On 1/8/07, lorenzo bolla <[EMAIL PROTECTED]> wrote: Hello all! I'm fairly new to Numpy and, while experimenting, I found a strange (i.e. not expected by me!) behaviour of arrays. I tried this (in comment what I get): x = arange(4) # x = array([0,1,2,3]) def myadd(x,y):# re-define the

[Numpy-discussion] reduction

2007-01-08 Thread lorenzo bolla
Hello all! I'm fairly new to Numpy and, while experimenting, I found a strange (i.e. not expected by me!) behaviour of arrays. I tried this (in comment what I get): x = arange(4) # x = array([0,1,2,3]) def myadd(x,y):# re-define the binary sum function return x + y reduce(myadd, x)