On Wed, Feb 6, 2013 at 1:08 PM, <josef.pktd@gmail.com> wrote:
I'm convinced that I saw a while ago a function that uses a list of
interval boundaries to index into an array, either to iterate or to
take.
I thought that's very useful, but didn't make a note.

Now, I have no idea where I saw this (I thought numpy), and I cannot
find it anywhere.

any clues?


Some possibilities:

np.array_split()
np.split()
np.ndindex()
np.nditer()
np.nested_iters()
np.ravel_multi_index()

Your description reminded me of a function I came across once, but I can't remember if one of these was it or if it was another one.

IHTH,
Ben Root