Replies: 1 comment 4 replies
-
I would suggest not to do this in function f2(x) * derivative(f1, wrt(x), at(x)); because you are mixing 2nd order dual number (the return of Please do your experiments to see how things work. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am new to the field of automatic differentiation and I was looking into it in order to migrate some of my codes from numerical differentiation (finite difference) to more accurate procedures. I often encounter multiple expressions with nested derivatives and I was wondering if there is a way to simply encode those using
autodiff
. I was thinking of something like the following pseudo-code:Is possible to do something like this or am I missing something fundamental? If this is possible can you point me to some example?
Beta Was this translation helpful? Give feedback.
All reactions