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

Nathan Goldbaum nathan12343 at gmail.com
Wed May 22 13:34:23 EDT 2019

It might be worth using BigQuery to search the github repository public
dataset for usages of np.sinc with keyword arguments.

On Wed, May 22, 2019 at 1:05 PM Sebastian Berg <sebastian at sipsolutions.net>

> Hi all,
> there is an open PR (https://github.com/numpy/numpy/pull/12924) to
> convert `np.sinc` into a ufunc. Since it should improve general
> precision in `np.sinc`, I thought we could try to move that forward a
> bit. We check whether this is worth it or not in the end.
> However, it would also change behaviour slightly since `np.sinc(x=arr)`
> will not work, as ufuncs are positional arguments only (we could wrap
> `sinc`, but that hides all the nice features). Otherwise, there should
> be no change except additional features of ufuncs and the move to a C
> implementation.
> This is mostly to see if anyone is worried about possible slight API
> change here.
> All the Best,
> Sebastian
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at python.org
> https://mail.python.org/mailman/listinfo/numpy-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20190522/547afd2f/attachment.html>

More information about the NumPy-Discussion mailing list