Re: [Numpy-discussion] argmax()

2007-01-01 Thread Niklas Saers
quot; object that pickled took 186547606 bytes. ;-) If it makes any sense I'd love to send you this variable that had len(2048) but was very much longer if stomped flat. :-) Cheers Nik On 1. jan. 2007, at 15.50, Alan G Isaac wrote: > On Mon, 1 Jan 2007, Niklas Saers apparently

[Numpy-discussion] argmax()

2007-01-01 Thread Niklas Saers
Hi, I'm quite new to numpy. My understanding of argmax() is that it gives the index of the highest number in the array, just like: from numpy import * a=array(range(4096)) a=a*15 argmax(a) gives 4095. But, when I use this within my program I have a little function: def localMaxima(set):