Skip to content

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