[Numpy-discussion] Where's that function?
Benjamin Root
ben.root@ou....
Wed Feb 6 13:45:57 CST 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20130206/99d5cef4/attachment.html
More information about the NumPy-Discussion
mailing list