Re: [Numpy-discussion] __numpy_ufunc__

2016-10-31 Thread Marten van Kerkwijk
Hi Chuck, I've revived my Quantity PRs that use __numpy_ufunc__ but is it correct that at present in *dev, one cannot use it? All the best, Marten ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/nump

Re: [Numpy-discussion] __numpy_ufunc__

2016-10-31 Thread Charles R Harris
On Mon, Oct 31, 2016 at 11:08 AM, Marten van Kerkwijk < m.h.vankerkw...@gmail.com> wrote: > Hi Chuck, > > I've revived my Quantity PRs that use __numpy_ufunc__ but is it > correct that at present in *dev, one cannot use it? > It's not enabled yet. Chuck __

Re: [Numpy-discussion] __numpy_ufunc__

2016-10-31 Thread Stephan Hoyer
Recall that I think we wanted to rename this to __array_ufunc__, so we could change the function signature: https://github.com/numpy/numpy/issues/5986 I'm still a little nervous about this. Chunk -- what is your proposal for resolving the outstanding issues from https://github.com/numpy/numpy/issu

Re: [Numpy-discussion] __numpy_ufunc__

2016-10-31 Thread Charles R Harris
On Mon, Oct 31, 2016 at 11:39 AM, Stephan Hoyer wrote: > Recall that I think we wanted to rename this to __array_ufunc__, so we > could change the function signature: https://github.com/numpy/ > numpy/issues/5986 > > I'm still a little nervous about this. Chunk -- what is your proposal for > reso

Re: [Numpy-discussion] __numpy_ufunc__

2016-10-31 Thread Marten van Kerkwijk
Hi Chuck, > We were pretty close. IIRC, the outstanding issue was some sort of override. Correct. With a general sentiment of those downstream that it would be great to merge in any form, as it will be really helpful! (Generic speedup of factor of 2 for computationally expensive ufuncs (sin, cos,