Converting np.sinc into a ufunc
22 May
2019
22 May
'19
6:03 p.m.
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
1771
Age (days ago)
1772
Last active (days ago)
11 comments
8 participants
participants (8)
-
Charles R Harris
-
Joshua Wilson
-
Marten van Kerkwijk
-
Nathan Goldbaum
-
Ralf Gommers
-
Robert Kern
-
Sebastian Berg
-
Stephan Hoyer