27 using namespace gtsam;
static int runAllTests(TestResult &result)
Factor used in Shonan Averaging to clamp down gauge freedom.
const mpreal gamma(const mpreal &x, mp_rnd_t r=mpreal::get_default_rnd())
#define EXPECT(condition)
const mpreal dim(const mpreal &a, const mpreal &b, mp_rnd_t r=mpreal::get_default_rnd())
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
#define EXPECT_LONGS_EQUAL(expected, actual)
boost::shared_ptr< GaussianFactor > linearize(const Values &c) const override
linearize to a GaussianFactor
TEST(ShonanAveraging, GaugeFactorLows)
std::uint64_t Key
Integer nonlinear key type.
size_t dim() const override
get the dimension of the factor (number of rows on linearization)