Skip to content
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

Complex Partials, Real to Complex Jacobian #584

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SBuercklin
Copy link

This implements the Partials arithmetic with Complex numbers in addition to Real, and enables the retrieval of partials from Complex{<:Dual} numbers.

A direct consequence of these changes is that jacobian(f, x) where f maps from R^n -> C^m works, as well as the in-place variation jacobian!.

Tests are still passing and none of the differentiation methods (gradient, jacobian, hessian) were modified. Are there any problems generalizing the Partials arithmetic as I've done? My concern is that there may be some Dual methods which should be supported for full generality, but my local tests haven't uncovered any of them.

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