Go to the documentation of this file.
24 using namespace gtsam;
33 0., 4.6904).finished();
48 const double sigma = 3;
55 double expected1 = 0.5 *
e.dot(
e);
58 double expected2 = -(
density.negLogConstant() + 0.5 *
e.dot(
e));
static int runAllTests(TestResult &result)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
static const double d[K][N]
#define EXPECT(condition)
const SharedDiagonal & get_model() const
static shared_ptr Sigmas(const Vector &sigmas, bool smart=true)
static const double sigma
const constBVector d() const
void insert(Key j, const Vector &value)
#define EXPECT_DOUBLES_EQUAL(expected, actual, threshold)
TEST(SmartFactorBase, Pinhole)
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
Rot2 R(Rot2::fromAngle(0.1))
static GaussianDensity FromMeanAndStddev(Key key, const Vector &mean, double sigma)
Construct using a mean and standard deviation.
gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:39:57