Hi
I  have 2 vectors A and B. For each value in A I want to find the location
in B of the same value. Both A and B have unique elements.

Of course I could something like
For each index of A:
       v =A[index]
       location = numpy.where(B == v)

But I have very large lists and it will take too long.

Thanks to any one of you  vectorization gurus that has any ideas.

Mathew
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to