-
-
Notifications
You must be signed in to change notification settings - Fork 191
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
Extension operands_and_partials to 8 edges #2698
Comments
Yes.
Value tests and then derivative tests for the function. I'm not sure how |
I think at the point we have 8 edges it might be good to turn the impl into having an underlying |
Yeah, maybe that makes sense. But I would suggest that somebody does it at a later point of time since right now, the new 7-parameter function works with those few changes I did. And @bob-carpenter agreed to bring these changes in the same Pull Request as the new 7-parameter function. The change of the underlying structure sounds a bit more complex. |
This was done in PR #2833. |
Description
As I want to add a function with 8 known partials to the stan-math library (#2682), I had to extend the
operands_and_partials
routine such that it can work with 8 instead of 5 partial derivatives.Example
It is possible to fill up to 8 edges for
operands_and_partias
:ops_partials.edge8_.partials
= ...Questions
Current Version:
v4.3.2
The text was updated successfully, but these errors were encountered: