Stephen Canon
7e032e20fc
Merge remote-tracking branch 'upstream/swift-5.3'
2020-08-04 08:26:26 -04:00
Stephen Canon
1ec79f5270
Add Swift version check for differentiable features.
2020-08-04 08:26:22 -04:00
Stephen Canon
40b5a03063
Merge pull request #105 from compnerd/cmake
...
build: add initial CMake based build system
2020-07-03 09:49:53 -04:00
Stephen Canon
085f6dab2e
Merge branch 'master' into swift-5.3
2020-07-01 09:31:40 -04:00
Saleem Abdulrasool
f30f73ed10
build: add initial CMake based build system
...
This adds a CMake based build, which enables the build of swift-numerics
on Windows. This currently does not add the test suite to the build as
there are still some issues to work out in building the full test suite
which require additional math operations to fully build.
2020-06-25 09:46:54 -07:00
Dan Zheng
86f0b33c65
Define Complex.zeroTangentVectorInitializer.
...
The `Differentiable.zeroTangentVectorInitializer` protocol requirement is a
closure producing a zero tangent vector, capturing minimal information from
`self`.
Fixes the `Complex: Differentiable` conformance for master toolchains.
2020-06-08 19:53:43 -07:00
Markus Winter
5f09b7ef22
Update documentation in ComplexModule
...
Replace the now deprecated unsafeLengthSquared reference with the newer lengthSquared in the README.md of the Complex module.
2020-05-26 15:45:37 +02:00
Stephen Canon
750170404a
The derivative of Complex.init(_:_:) is broken with the current Xcode toolchain.
...
Remove it for now; it'll still be present on the -5.3 branch, so we'll pick it up again when we're able to.
2020-05-01 08:50:32 -04:00
Stephen Canon
a5cc950a86
Merge pull request #111 from rxwei/complex-derivatives
...
Make 'Complex' differentiable.
2020-04-22 16:43:46 -04:00
Richard Wei
488e250259
Make 'Complex' differentiable.
...
* Conform `Complex` to `Differentiable`.
* Define derivatives for `init(_:_:)`, `real`, `imaginary`, `conjugate`, `+(_:_:)`, `-(_:_:)`, `*(_:_:)`, `/(_:_:)`.
Gated under `#if canImport(_Differentiation)`.
2020-04-22 13:35:36 -07:00
Stephen Canon
9dba38cc1a
Update README.md
2020-02-21 09:22:40 -05:00
Stephen Canon
76954c06a7
Back to trailing 'Module'
2020-02-21 09:22:40 -05:00