-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`ForwardDiff` [recently added](JuliaDiff/ForwardDiff.jl#583) support for complex-valued functions of real arguments, which demonstrates the (presumably) right way to support geometric-algebra-valued functions, including quaternion-valued functions. I was on roughly the right track, but the default method should return 0, and the specific methods of quaternions over `Dual`s should have extracted the `partials` field of each components. This implements that approach.
- Loading branch information
Showing
3 changed files
with
19 additions
and
11 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
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