Skip to content

Conversation

@JaapWijnen
Copy link
Collaborator

@JaapWijnen JaapWijnen commented Aug 21, 2025

transfer Complex's conditional conformance to Differentiable` here and add some additional derivatives

The whole Complex conformance to Differentiable now lives in this repo as it was removed from swift-numerics with their 1.1.0 release.
This MR also adds some derivatives we previously couldn't express like: +=, -=, *=, /=, real.set, imaginary.set, and some we simply didn't have yet: init(_:), init(imaginary:)

@JaapWijnen JaapWijnen force-pushed the update-to-swiftnumerics-1.1.0 branch from 3cb99e9 to 1e38e8e Compare August 21, 2025 12:15
@JaapWijnen
Copy link
Collaborator Author

@ivanovdmitri

@ivanovdmitri
Copy link

Let's add unit test coverage for these basic functions

… additional derivatives

The whole Complex conformance to Differentiable now lives in swift-numerics-differentiable. I also added some derivatives we previously couldn't express like: +=, -=, *=, /=, real.set, imaginary.set, and some we simply didn't have yet: init(_:), init(imaginary:)
@JaapWijnen JaapWijnen force-pushed the update-to-swiftnumerics-1.1.0 branch from f0531bb to 5e190b6 Compare August 21, 2025 19:02
@JaapWijnen JaapWijnen force-pushed the update-to-swiftnumerics-1.1.0 branch from 5e190b6 to 00369de Compare August 29, 2025 09:18
@JaapWijnen JaapWijnen merged commit 7084265 into main Sep 2, 2025
5 checks passed
@JaapWijnen JaapWijnen deleted the update-to-swiftnumerics-1.1.0 branch September 2, 2025 08:47
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.

4 participants