32 const std::string& name_,
37 typedef typename gtsam::DefaultChart<T> Chart;
38 typedef typename Chart::vector
Vector;
47 Vector dx = Chart::local(value, other);
54 T updated = Chart::retract(value, dx);
55 Vector invdx = Chart::local(value, updated);
60 updated = Chart::retract(value, dx);
61 invdx = Chart::local(value, updated);
68 #define CHECK_CHART_CONCEPT(value) \ 69 { gtsam::testDefaultChart(result_, name_, value); } Concept check for values that can be used in unit tests.
BOOST_CONCEPT_ASSERT((boost::RandomAccessRangeConcept< ListOfOneContainer< int > >))
#define GTSAM_CONCEPT_TESTABLE_TYPE(T)
Base class and basic functions for Manifold types.
#define EXPECT(condition)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
A small structure to hold a non zero as a triplet (i,j,value).
#define EXPECT_LONGS_EQUAL(expected, actual)
void testDefaultChart(TestResult &result_, const std::string &name_, const T &value)