bessel_jn for n=0 seems not well implemented #16996
Replies: 2 comments 3 replies
-
Hi - thanks for the report. It looks like My recommendation would be to remove What do you think? |
Beta Was this translation helpful? Give feedback.
-
I have answer on this PR 17038 that the nb I have mentionned in the begenning of this thrad shows how an implementation of j0 and j1 can be donne using Boost algo, and is compliant with the use of jit/vmap/jacrev. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Although I do not use it correctly, the jax.scipy.special.bessel_jn (jax version in Google collab; 0.4.13) does not match neither the scipy..special.j0 and a JAX version I have cooked from Boost C++ implementation boost/math/special_functions/detail/bessel_j0.hpp
You can have a look a the following notebook on Google Collab.
https://colab.research.google.com/drive/1Cr7oDffnpc6q_hUqNYI423nzjo8MQvn3?usp=sharing
Beta Was this translation helpful? Give feedback.
All reactions