Unit tests for Linear Factor. More...
#include <gtsam/base/TestableAssertions.h>
#include <CppUnitLite/TestHarness.h>
#include <gtsam/inference/VariableSlots.h>
#include <gtsam/linear/JacobianFactor.h>
#include <gtsam/linear/GaussianFactorGraph.h>
#include <gtsam/linear/GaussianConditional.h>
#include <gtsam/linear/VectorValues.h>
#include <boost/assign/std/vector.hpp>
#include <boost/assign/list_of.hpp>
#include <boost/range/iterator_range.hpp>
#include <boost/range/adaptor/map.hpp>
Go to the source code of this file.
Namespaces | |
simple | |
simple_graph | |
Functions | |
Key | simple_graph::keyX (10) |
Key | simple_graph::keyY (8) |
Key | simple_graph::keyZ (12) |
int | main () |
TEST (JacobianFactor, constructors_and_accessors) | |
TEST (JabobianFactor, Hessian_conversion) | |
TEST (JabobianFactor, Hessian_conversion2) | |
TEST (JabobianFactor, Hessian_conversion3) | |
TEST (JacobianFactor, construct_from_graph) | |
TEST (JacobianFactor, error) | |
TEST (JacobianFactor, matrices_NULL) | |
TEST (JacobianFactor, matrices) | |
TEST (JacobianFactor, operators) | |
TEST (JacobianFactor, default_error) | |
TEST (JacobianFactor, empty) | |
TEST (JacobianFactor, eliminate) | |
TEST (JacobianFactor, eliminate2) | |
TEST (JacobianFactor, EliminateQR) | |
TEST (JacobianFactor, constraint_eliminate1) | |
TEST (JacobianFactor, constraint_eliminate2) | |
TEST (JacobianFactor, OverdeterminedEliminate) | |
Variables | |
Matrix | simple_graph::A11 = I_2x2 |
Matrix | simple_graph::A21 = -2 * I_2x2 |
Matrix | simple_graph::A22 = 3 * I_2x2 |
Matrix | simple_graph::A32 = -4 * I_2x2 |
Matrix | simple_graph::A33 = 5 * I_2x2 |
Vector2 | simple_graph::b1 (2,-1) |
Vector2 | simple_graph::b2 (4,-5) |
Vector2 | simple_graph::b3 (3,-6) |
JacobianFactor | simple_graph::factor1 (keyX, A11, b1, noiseModel::Isotropic::Sigma(2, sigma1)) |
JacobianFactor | simple_graph::factor2 (keyX, A21, keyY, A22, b2, noiseModel::Isotropic::Sigma(2, sigma2)) |
JacobianFactor | simple_graph::factor3 (keyY, A32, keyZ, A33, b3, noiseModel::Isotropic::Sigma(2, sigma3)) |
GaussianFactorGraph | simple_graph::factors (list_of(factor1)(factor2)(factor3)) |
Ordering | simple_graph::ordering (list_of(keyX)(keyY)(keyZ)) |
double | simple_graph::sigma1 = 0.1 |
double | simple_graph::sigma2 = 0.5 |
double | simple_graph::sigma3 = 1.0 |
Unit tests for Linear Factor.
Definition in file testJacobianFactor.cpp.
int main | ( | void | ) |
Definition at line 664 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
constructors_and_accessors | |||
) |
Definition at line 52 of file testJacobianFactor.cpp.
TEST | ( | JabobianFactor | , |
Hessian_conversion | |||
) |
Definition at line 148 of file testJacobianFactor.cpp.
TEST | ( | JabobianFactor | , |
Hessian_conversion2 | |||
) |
Definition at line 166 of file testJacobianFactor.cpp.
TEST | ( | JabobianFactor | , |
Hessian_conversion3 | |||
) |
Definition at line 177 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
construct_from_graph | |||
) |
Definition at line 213 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
error | |||
) |
Definition at line 231 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
matrices_NULL | |||
) |
Definition at line 254 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
matrices | |||
) |
Definition at line 298 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
operators | |||
) |
Definition at line 344 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
default_error | |||
) |
Definition at line 384 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
empty | |||
) |
Definition at line 392 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
eliminate | |||
) |
Definition at line 400 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
eliminate2 | |||
) |
Definition at line 452 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
EliminateQR | |||
) |
Definition at line 520 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
constraint_eliminate1 | |||
) |
Definition at line 584 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
constraint_eliminate2 | |||
) |
Definition at line 604 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
OverdeterminedEliminate | |||
) |
Definition at line 640 of file testJacobianFactor.cpp.