-
Notifications
You must be signed in to change notification settings - Fork 62
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
Make frule
return a closure which returns the derivative
#102
Conversation
Co-authored-by: "Yingbo Ma" <mayingbo5@gmail.com> Co-authored-by: "Shashi Gowda" <gowda@mit.edu>
Why is this a good idea? |
2a468ca
to
5b57190
Compare
Should we close this now? More broadly, differentiating the pushforward runs in the the same problems that recursive forward mode runs into in the first place. Here are the Faa di Bruno formula for derivative of
Basically, any function we care to write a |
What's the alternative solution? Are you implying anyone defining an With this, it would at least be possible to efficiently do symbolic |
Yes, something like that.
No more or less than it is to do it to |
I strongly believe we shouldn't require
I'm not a 100% sure about that yet. |
Which is why I proposed a separate |
No description provided.