On Fri, Sep 11, 2009 at 15:46, Andrew Jaffe wrote:
> On 11/09/2009 08:33, Robert Kern wrote:
>> On Fri, Sep 11, 2009 at 10:24, Andrew Jaffe wrote:
>>> Dear all,
>>>
>>> I've got two (integer) arrays, and I want to find the indices in the
>>> first one that have entries in the second. I.E. I want a
On 11/09/2009 08:33, Robert Kern wrote:
> On Fri, Sep 11, 2009 at 10:24, Andrew Jaffe wrote:
>> Dear all,
>>
>> I've got two (integer) arrays, and I want to find the indices in the
>> first one that have entries in the second. I.E. I want all idx s.t.
>> there exists a j with a[idx]=b[j]. Here is
On Fri, Sep 11, 2009 at 10:24, Andrew Jaffe wrote:
> Dear all,
>
> I've got two (integer) arrays, and I want to find the indices in the
> first one that have entries in the second. I.E. I want all idx s.t.
> there exists a j with a[idx]=b[j]. Here is my current implementation
> (with a = pixnums, b
Dear all,
I've got two (integer) arrays, and I want to find the indices in the
first one that have entries in the second. I.E. I want all idx s.t.
there exists a j with a[idx]=b[j]. Here is my current implementation
(with a = pixnums, b=surveypix)
import numpy as np
def matchPix(pixnums, surve