-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use numpy sinc #3175
use numpy sinc #3175
Conversation
+1, no need to duplicate this function. I checked the numpy implementation, and that looks fine to me. The |
The tests for EDIT: maybe keep a very basic one to check that the function still exists in the |
@rgommers I removed most of the testing. |
Thanks, merging. |
Use numpy sinc instead of re-implementing it in scipy.special
Would it make sense to move the tests and implementation into numpy instead of just deleting them? scipy's implementation makes more sense to me than something that depends on float inaccuracy. |
@endolith The numpy sinc passed the scipy tests, and numpy has its own more extensive sinc testing. On the other hand I'd like a new C sinc ufunc implementation in either numpy or scipy. |
New ufunc would indeed be nice. That should go into numpy and replace its current implementation imho. |
related: numpy/numpy#7322 |
For the immediate future, numpy/numpy#7322 will actually remove the possibility of making |
No description provided.