template<class Class>
struct gtsam::internal::VectorSpaceTraits< Class >
A helper that implements the traits interface for classes that define vector spaces To use this for your class, define: template<> struct traits<Class> : public VectorSpaceTraits<Class> {}; The class needs to support the requirements defined by HasVectorSpacePrereqs above.
|
static TangentVector | Logmap (const Class &m, ChartJacobian Hm=boost::none) |
|
static Class | Expmap (const TangentVector &v, ChartJacobian Hv=boost::none) |
|
static Class | Compose (const Class &v1, const Class &v2, ChartJacobian H1=boost::none, ChartJacobian H2=boost::none) |
|
static Class | Between (const Class &v1, const Class &v2, ChartJacobian H1=boost::none, ChartJacobian H2=boost::none) |
|
static Class | Inverse (const Class &v, ChartJacobian H=boost::none) |
|
static int | GetDimension (const Class &) |
|
static TangentVector | Local (const Class &origin, const Class &other, ChartJacobian H1=boost::none, ChartJacobian H2=boost::none) |
|
static Class | Retract (const Class &origin, const TangentVector &v, ChartJacobian H1=boost::none, ChartJacobian H2=boost::none) |
|