On Thu, 20 Oct 2022 23:26:37 -
ntess...@pm.me wrote:
> As far as I can see, there is no equivalent numpy functionality. In fact, as
> far as I'm aware, there isn't any fast alternative outside of
> C/Cython/numba/..
We have cummulative histograms in silx ... and found it useful. Maybe it wo
Hello,
One thing I can think off right off the bat is that it’d only be useful if the
out argument has the correct dtype (np.uintp, if I’m not mistaken). I’m not
sure how much of a nuisance that could be for end users, but I assume not very
much given the correct error message.
Best regards,
H
Argsort returns its result in a new array. It would be useful if allocation of
the new array could be avoided when a suitable array is already available.
Is there a reason why this wouldn't be useful or problematic to implement?
___
NumPy-Discussion mai
On Fri, 2022-10-21 at 17:17 -0600, Aaron Meurer wrote:
> I'm probably not understanding all the subtleties here. In the
> documentation for can_cast (and other places), it says, "'safe' means
> only casts which can preserve values are allowed." So by that
> definition, I think 'safe' casting should