27 using namespace gtsam;
41 values.insert(x1_key, 10.0);
42 values.insert(x2_key, 0.0);
static shared_ptr Create(double k, const ReweightScheme reweight=Block)
Provides additional testing facilities for common data structures.
Concept check for values that can be used in unit tests.
static int runAllTests(TestResult &result)
Some functions to compute numerical derivatives.
static shared_ptr Create(const RobustModel::shared_ptr &robust, const NoiseModel::shared_ptr noise)
#define EXPECT_DOUBLES_EQUAL(expected, actual, threshold)
static shared_ptr Create(size_t dim)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
double error(const Values &c) const override
TEST(SmartFactorBase, Pinhole)
std::uint64_t Key
Integer nonlinear key type.