[Numpy-discussion] 2D (or n-d) fancy indexing?

Stéfan van der Walt stefan@sun.ac...
Thu Oct 9 02:53:52 CDT 2008


Hi Zach

2008/10/9 Zachary Pincus <zachary.pincus@yale.edu>:
>> Conceptually, you need arrays A, B, and C such that
>>
>>  composite[x,y] == images[A[x,y], B[x,y], C[x,y]]
>>  for all x,y
>
> Aha -- thanks especially for the clear illustration of what B and C
> need to be. That really helps.

I also summarised some of the posts on this topic between Jack Cooke
and Robert Kern in my SciPy'08 slides:

http://mentat.za.net/numpy/numpy_advanced_slides/

I don't know if they're much use without the dialogue.  Or maybe
they're better :)

Cheers
Stéfan


More information about the Numpy-discussion mailing list