[Numpy-discussion] Converting np.sinc into a ufunc

Marten van Kerkwijk m.h.vankerkwijk at gmail.com
Thu May 23 10:17:21 EDT 2019


I agree that we should not have two functions

I also am rather unsure whether a ufunc is a good idea. Earlier, while
discussing other possible additions, like `erf`, the conclusion seemed to
be that in numpy we should just cover whatever is in the C standard. This
suggests `sinc` should not be a ufunc.

-- Marten

p.s.`scipy.special.sinc` *is* `np.sinc`

p.s.2 The accuracy argument is not in itself an argument for a ufunc, as it
could be done in python too.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20190523/9c10ec2a/attachment.html>


More information about the NumPy-Discussion mailing list