static int runAllTests(TestResult &result)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Concept check for values that can be used in unit tests.
static shared_ptr Create(const RobustModel::shared_ptr &robust, const NoiseModel::shared_ptr noise)
double error(const DiscreteValues &values) const override
Calculate error for DiscreteValues x, is -log(probability).
Provides additional testing facilities for common data structures.
DecisionTreeFactor factor(D &C &B &A, "0.0 0.0 0.0 0.60658897 0.61241912 0.61241969 0.61247685 0.61247742 0.0 " "0.0 0.0 0.99995287 1.0 1.0 1.0 1.0")
Some functions to compute numerical derivatives.
static shared_ptr Create(size_t dim)
void insert(Key j, const Vector &value)
#define EXPECT_DOUBLES_EQUAL(expected, actual, threshold)
TEST(SmartFactorBase, Pinhole)
std::uint64_t Key
Integer nonlinear key type.
static shared_ptr Create(double k, const ReweightScheme reweight=Block)
gtsam
Author(s):
autogenerated on Wed Jan 1 2025 04:07:10