Skip to content

Update ForwardDiff approach#37

Merged
moble merged 3 commits intomainfrom
ForwardDiff
May 19, 2022
Merged

Update ForwardDiff approach#37
moble merged 3 commits intomainfrom
ForwardDiff

Conversation

@moble
Copy link
Owner

@moble moble commented May 19, 2022

ForwardDiff recently added 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 Duals should have extracted the partials field of each components. This implements that approach.

@moble moble merged commit 968190e into main May 19, 2022
@moble moble deleted the ForwardDiff branch May 19, 2022 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant