Skip to content

Commit

Permalink
Minor edits.
Browse files Browse the repository at this point in the history
  • Loading branch information
rxwei authored Mar 8, 2019
1 parent 2de16e0 commit 95a8411
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/DifferentiableTypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,13 @@ public protocol Differentiable {
where TangentVector.TangentVector == TangentVector,
TangentVector.CotangentVector == CotangentVector,
TangentVector.AllDifferentiableVariables == TangentVector

/// The cotangent bundle of this differentiable manifold.
associatedtype CotangentVector: AdditiveArithmetic & Differentiable
where CotangentVector.TangentVector == CotangentVector,
CotangentVector.CotangentVector == TangentVector,
CotangentVector.AllDifferentiableVariables == CotangentVector

/// The type of all differentiable variables in this type.
associatedtype AllDifferentiableVariables: Differentiable
where AllDifferentiableVariables.AllDifferentiableVariables == AllDifferentiableVariables,
Expand All @@ -111,10 +113,10 @@ public protocol Differentiable {
var allDifferentiableVariables: AllDifferentiableVariables { get }

/// Returns `self` moved along the value space towards the given tangent vector.
/// In Riemannian geometry (mathematics), this represents an exponential map.
/// In Riemannian geometry (mathematics), this represents exponential map.
func moved(along direction: TangentVector) -> Self

/// Convert a cotangent vector to its corresponding tangent vector.
/// Converts a cotangent vector to its corresponding tangent vector.
func tangentVector(from cotangent: CotangentVector) -> TangentVector
}
```
Expand Down

0 comments on commit 95a8411

Please sign in to comment.