golib  0.5
goMath::Manifold< element_type, tangent_type > Class Template Referenceabstract

Interface for manifolds. More...

#include <gomanifold.h>

Public Types

typedef element_type Element
 
typedef tangent_type Tangent
 

Public Member Functions

virtual void exp (const Element &e, const Tangent &v, Element &ret)=0
 
virtual void log (const Element &e1, const Element &e2, Tangent &ret)=0
 
virtual goDouble innerProduct (const Element &e, const Tangent &v1, const Tangent &v2)=0
 
virtual goDouble d (const Element &e1, const Element &e2)
 

Detailed Description

template<class element_type, class tangent_type>
class goMath::Manifold< element_type, tangent_type >

Interface for manifolds.

Derived classes must provide for exponential and logarithmic map and inner product. The default distance d() is $ \sqrt{\langle v,v \rangle_{e_1}} $ with $ v = Log_{e_1}(e_2) $.


The documentation for this class was generated from the following files: