Merge branch 'master' into swift-5.3

This commit is contained in:
Stephen Canon committed 2020-07-01 09:31:40 -04:00
commit 085f6dab2e
5 files changed
+27 -184

No files matched your search

@@ -15,6 +15,11 @@ import _Differentiation
extension Complex: Differentiable
where RealType: Differentiable, RealType.TangentVector == RealType {
public typealias TangentVector = Self
@inlinable
public var zeroTangentVectorInitializer: () -> Self {
{ Complex.zero }
}
}
extension Complex
+1 -1
View File
@@ -60,7 +60,7 @@ Because of this, the ∞-norm is the obvious alternative; it gives the nicest AP
- The ∞-norm is heavily used in other computational libraries; for example, it is used by the `izamax` and `icamax` functions in BLAS.
The 2-norm still needs to be available, of course, because sometimes you need it.
This functionality is accessed via the `.length` and `.unsafeLengthSquared` properties.
This functionality is accessed via the `.length` and `.lengthSquared` properties.
### Accuracy of division and multiplication
This library attempts to provide robust division and multiplication operations, with small relative error in a complex norm. It is a non-goal to deliver small componentwise errors.