Fri, 18 Oct 2024 14:22:45 -0500
Sketch exp
0 | 1 | |
2 | /// A point on a manifold | |
3 | pub trait ManifoldPoint : Clone + PartialEq { | |
4 | // Type of tangent factors | |
3 | 5 | type Tangent : Euclidean<f64, Output=Self::Tangent> + std::fmt::Debug; |
0 | 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 | } |