Go to the documentation of this file.
26 using namespace std::placeholders;
27 using namespace gtsam;
32 static const Point2 P(0.2, 0.7);
33 static const Rot2 R = Rot2::fromAngle(0.3);
34 static const double s = 4;
62 Vector4
v1(1, 2, 3, 4);
63 Vector4
v2(0.1, -0.5, 1.0, -1.0);
64 Vector4
v3(0.0, 0.0, 0.0, 0.0);
83 const Vector4
xi(0.1, 0.2, 0.3, 0.4);
static int runAllTests(TestResult &result)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
#define GTSAM_CONCEPT_TESTABLE_INST(T)
Concept check for values that can be used in unit tests.
#define EXPECT(condition)
TEST(Similarity2, Concepts)
Implementation of Similarity2 transform.
Pose2_ Expmap(const Vector3_ &xi)
Some functions to compute numerical derivatives.
#define EXPECT_DOUBLES_EQUAL(expected, actual, threshold)
Rot2 rotation() const
Return a GTSAM rotation.
double scale() const
Return the scale.
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
Point2 translation() const
Return a GTSAM translation.
#define GTSAM_CONCEPT_ASSERT(concept)
TEST_DISABLED(Similarity2, BruteForceExpmap)
static const Point2 P(0.2, 0.7)
gtsam
Author(s):
autogenerated on Mon Mar 10 2025 03:08:57