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

Robert Kern robert.kern at gmail.com
Thu May 23 10:26:56 EDT 2019


On Thu, May 23, 2019 at 7:20 AM Marten van Kerkwijk <
m.h.vankerkwijk at gmail.com> wrote:

> 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.
>

That standard is for "what special functions we include in numpy,
regardless of implementation", not "which special functions we already have
in numpy should be implemented as ufuncs or regular functions".

-- 
Robert Kern
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20190523/656f9e8a/attachment-0001.html>


More information about the NumPy-Discussion mailing list