Re: [Numpy-discussion] index of minimum of array

2007-04-13 Thread Bill Baxter
On 4/14/07, Hugo <[EMAIL PROTECTED]> wrote: > Bill Baxter wrote: > > On 4/14/07, Alan Isaac <[EMAIL PROTECTED]> wrote: > >>> On 4/13/07, Tommy Grav <[EMAIL PROTECTED]> wrote: > how do I find the index of the minimum value of an numpy > array? Example a = array([1.,2.,0.4,3.]) I want the

Re: [Numpy-discussion] index of minimum of array

2007-04-13 Thread Hugo
Bill Baxter wrote: > On 4/14/07, Alan Isaac <[EMAIL PROTECTED]> wrote: >>> On 4/13/07, Tommy Grav <[EMAIL PROTECTED]> wrote: how do I find the index of the minimum value of an numpy array? Example a = array([1.,2.,0.4,3.]) I want the i=2 >> >> Just a reminder that there exist a very use

Re: [Numpy-discussion] index of minimum of array

2007-04-13 Thread Bill Baxter
On 4/14/07, Alan Isaac <[EMAIL PROTECTED]> wrote: > > On 4/13/07, Tommy Grav <[EMAIL PROTECTED]> wrote: > >> how do I find the index of the minimum value of an numpy > >> array? Example a = array([1.,2.,0.4,3.]) I want the i=2 > >> since a[i] = 0.4 is the smallest value in a. > > > On Fri, 13 Apr

Re: [Numpy-discussion] index of minimum of array

2007-04-13 Thread Alan Isaac
> On 4/13/07, Tommy Grav <[EMAIL PROTECTED]> wrote: >> how do I find the index of the minimum value of an numpy >> array? Example a = array([1.,2.,0.4,3.]) I want the i=2 >> since a[i] = 0.4 is the smallest value in a. On Fri, 13 Apr 2007, Timothy Hochberg wrote: > argmin Just a reminder t

Re: [Numpy-discussion] index of minimum of array

2007-04-13 Thread Timothy Hochberg
On 4/13/07, Tommy Grav <[EMAIL PROTECTED]> wrote: Hi, how do I find the index of the minimum value of an numpy array? Example a = array([1.,2.,0.4,3.]) I want the i=2 since a[i] = 0.4 is the smallest value in a. argmin Cheers Tommy _

[Numpy-discussion] index of minimum of array

2007-04-13 Thread Tommy Grav
Hi, how do I find the index of the minimum value of an numpy array? Example a = array([1.,2.,0.4,3.]) I want the i=2 since a[i] = 0.4 is the smallest value in a. Cheers Tommy ___ Numpy-discussion mailing list [EMAIL PROTECTED] http://proj