-1:000000000000 | 0:989e2fe08db2 |
---|---|
1 | |
2 /// A point on a manifold | |
3 pub trait ManifoldPoint : Clone + PartialEq { | |
4 // Type of tangent factors | |
5 type Tangent; | |
6 | |
7 /// Exponential map | |
8 fn exp(&self, tangent : &Self::Tangent) -> Self; | |
9 | |
10 /// Logarithmic map | |
11 fn log(&self, other : &Self) -> Self::Tangent; | |
12 } |