Rational of 2 polynomials with gradient #14132
Unanswered
jecampagne
asked this question in
Ideas
Replies: 1 comment 7 replies
-
Does this code can be submitted to JAX improvement? If so what is the procedure as I do not see where in the JAX directory there is a place to make a PR ? I have also a Clenshaw-Curtis integration quadrature routine if desired... |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
For some personal use I had the compute P(x)/Q(x). I have found Boost C++ code that could be nicely be implemented in JAX. Here is my code, certainly not the best implementation
Some tests
leads to

For the gradiant
leads to

Now, I guess my code is not 100% as good as JAX.lax standard function inmplementation with the shape promotion, dtype.... But looks pretty a version 0, isn't it?
Beta Was this translation helpful? Give feedback.
All reactions