23 using namespace gtsam;
38 Vector actual1 = sampler1.sample();
Vector sample() const
sample from distribution
static int runAllTests(TestResult &result)
noiseModel::Diagonal::shared_ptr model
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
#define EXPECT_DOUBLES_EQUAL(expected, actual, threshold)
#define EXPECT(condition)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
sampling from a NoiseModel
static const Vector3 kSigmas(1.0, 0.1, 0.0)
#define EXPECT_LONGS_EQUAL(expected, actual)
static shared_ptr Sigmas(const Vector &sigmas, bool smart=true)
TEST(SmartFactorBase, Pinhole)