-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add dual number–based second derivatives for
ForwardDiff
(#310)
* Add dual number-based implementations for ForwardDiff scalar derivatives * Use functions from utils.jl * Fixup * Reorder * Add preparation to see error * Add derivative method * Add derivative! and value_and_derivative! methods * Fixup * Drop derivative and derivative! * Add prepare_second_derivative and value_derivative_and_second_derivative! * Fixup * Drop derivative stuff * Add second_derivative and second_derivative! methods * Fixup * Fixup 2 --------- Co-authored-by: Guillaume Dalle <[email protected]>
- Loading branch information
Showing
2 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters