Go to the documentation of this file.
61 using namespace gtsam;
63 int main(
int argc,
char** argv) {
98 initialEstimate.
print(
"\nInitial Estimate:\n");
virtual const Values & optimize()
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Matrix marginalCovariance(Key variable) const
int main(int argc, char **argv)
static ConjugateGradientParameters parameters
void addPrior(Key key, const T &prior, const SharedNoiseModel &model=nullptr)
noiseModel::Diagonal::shared_ptr model
void print(const std::string &str="", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const
A class for computing marginals in a NonlinearFactorGraph.
size_t maxIterations
maximum number of cg iterations
Factor Graph consisting of non-linear factors.
std::shared_ptr< Diagonal > shared_ptr
void insert(Key j, const Value &val)
NonlinearFactorGraph graph
Marginals marginals(graph, result)
A non-templated config holding any types of Manifold-group elements.
IsDerived< DERIVEDFACTOR > emplace_shared(Args &&... args)
Emplace a shared pointer to factor of given type.
void print(const std::string &str="NonlinearFactorGraph: ", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const override
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:57