[Numpy-discussion] Converting np.sinc into a ufunc
Marten van Kerkwijk
m.h.vankerkwijk at gmail.com
Wed May 22 21:10:25 EDT 2019
> Otherwise, there should
>>> be no change except additional features of ufuncs and the move to a C
> I see this is one of the functions that uses asanyarray, so what about
> impact on subclass behavior?
So, subclasses are passed on, as they are in ufuncs. In general, that
should mean it is OK for subclasses. For astropy's Quantity, it would be an
improvement, as `where` was never properly supported, and with a ufunc, we
can handle it easily.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion