gtsam  4.0.0
gtsam
gtsam::ProductManifold< M1, M2 > Class Template Reference

Detailed Description

template<typename M1, typename M2>
class gtsam::ProductManifold< M1, M2 >

Helper class to construct the product manifold of two other manifolds, M1 and M2 Assumes nothing except manifold structure for M1 and M2, and the existence of default constructor for those types.

+ Inheritance diagram for gtsam::ProductManifold< M1, M2 >:

Public Member Functions

size_t dim () const
 
 ProductManifold ()
 Default constructor needs default constructors to be defined.
 
 ProductManifold (const M1 &m1, const M2 &m2)
 
ProductManifold retract (const TangentVector &xi) const
 Retract delta to manifold.
 
TangentVector localCoordinates (const ProductManifold &other) const
 Compute the coordinates in the tangent space.
 

Static Public Member Functions

static size_t Dim ()
 

Public Types

enum  { dimension = dimension1 + dimension2 }
 
typedef Eigen::Matrix< double, dimension, 1 > TangentVector
 
typedef OptionalJacobian< dimension, dimension > ChartJacobian
 

Protected Types

enum  { dimension1 = traits<M1>::dimension }
 
enum  { dimension2 = traits<M2>::dimension }
 

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