wrap LieVector

release/4.3a0
Duy-Nguyen Ta 2012-06-18 18:12:19 +00:00
parent d57fc32e74
commit 509c2b4c67
1 changed files with 28 additions and 0 deletions

28
gtsam.h
View File

@ -63,6 +63,34 @@ namespace gtsam {
// base // base
//************************************************************************* //*************************************************************************
class LieVector {
// Standard constructors
LieVector();
LieVector(Vector v);
// Standard interface
Vector vector() const;
// Testable
void print(string s) const;
bool equals(const gtsam::LieVector& expected, double tol) const;
// Group
static gtsam::LieVector identity();
gtsam::LieVector inverse() const;
gtsam::LieVector compose(const gtsam::LieVector& p) const;
gtsam::LieVector between(const gtsam::LieVector& l2) const;
// Manifold
size_t dim() const;
gtsam::LieVector retract(Vector v) const;
Vector localCoordinates(const gtsam::LieVector& t2) const;
// Lie group
static gtsam::LieVector Expmap(Vector v);
static Vector Logmap(const gtsam::LieVector& p);
};
//************************************************************************* //*************************************************************************
// geometry // geometry
//************************************************************************* //*************************************************************************