https://github.com/numpy/numpy/pull/2960
thanks
V-
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
On Fri, Feb 1, 2013 at 6:24 AM, denis wrote:
> Folks,
> is there a way to speed up Array.take( floatindices.astype(int) ) ?
> astype(int) makes a copy, floor() returns floats.
>
> (Is there a wiki of NumPy one-liners / various tricks ?
> would sure beat googling.)
>
You can use floats for the
On Wed, Jan 30, 2013 at 11:20 AM, Sebastian Berg wrote:
>
> >
> >
> > > In my particular case at least, there are clear ways to
> > handle corner
> > > cases (like being passed a class that lacks these
> > attributes), so in
> > > principle there no problem
Folks,
is there a way to speed up Array.take( floatindices.astype(int) ) ?
astype(int) makes a copy, floor() returns floats.
(Is there a wiki of NumPy one-liners / various tricks ?
would sure beat googling.)
Thanks,
cheers
-- denis
___
NumPy-Discu