src/manifold.rs

Fri, 18 Oct 2024 13:50:52 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Fri, 18 Oct 2024 13:50:52 -0500
changeset 1
29738fae471e
parent 0
989e2fe08db2
child 3
ff4656da04af
permissions
-rw-r--r--

Added some missing files


/// A point on a manifold
pub trait ManifoldPoint : Clone + PartialEq {
    // Type of tangent factors
    type Tangent;

    /// Exponential map
    fn exp(&self, tangent : &Self::Tangent) -> Self;

    /// Logarithmic map
    fn log(&self, other : &Self) -> Self::Tangent;
}

mercurial