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>
Go to the source code of this file.
Namespaces | |
simple | |
simple_graph | |
Typedefs | |
using | Dims = std::vector< Eigen::Index > |
Functions | |
Key | simple_graph::keyX (10) |
Key | simple_graph::keyY (8) |
Key | simple_graph::keyZ (12) |
int | main () |
TEST (JabobianFactor, Hessian_conversion) | |
TEST (JabobianFactor, Hessian_conversion2) | |
TEST (JabobianFactor, Hessian_conversion3) | |
TEST (JacobianFactor, constraint_eliminate1) | |
TEST (JacobianFactor, constraint_eliminate2) | |
TEST (JacobianFactor, construct_from_graph) | |
TEST (JacobianFactor, constructors_and_accessors) | |
TEST (JacobianFactor, default_error) | |
TEST (JacobianFactor, eliminate) | |
TEST (JacobianFactor, eliminate2) | |
TEST (JacobianFactor, EliminateQR) | |
TEST (JacobianFactor, empty) | |
TEST (JacobianFactor, error) | |
TEST (JacobianFactor, matrices) | |
TEST (JacobianFactor, matrices_NULL) | |
TEST (JacobianFactor, operators) | |
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) |
auto | simple_graph::factor1 |
auto | simple_graph::factor2 |
auto | simple_graph::factor3 |
const GaussianFactorGraph | simple_graph::factors { factor1, factor2, factor3 } |
const Ordering | simple_graph::ordering { 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.
using Dims = std::vector<Eigen::Index> |
Definition at line 31 of file testJacobianFactor.cpp.
int main | ( | ) |
Definition at line 669 of file testJacobianFactor.cpp.
TEST | ( | JabobianFactor | , |
Hessian_conversion | |||
) |
Definition at line 150 of file testJacobianFactor.cpp.
TEST | ( | JabobianFactor | , |
Hessian_conversion2 | |||
) |
Definition at line 168 of file testJacobianFactor.cpp.
TEST | ( | JabobianFactor | , |
Hessian_conversion3 | |||
) |
Definition at line 179 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
constraint_eliminate1 | |||
) |
Definition at line 589 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
constraint_eliminate2 | |||
) |
Definition at line 609 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
construct_from_graph | |||
) |
Definition at line 218 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
constructors_and_accessors | |||
) |
Definition at line 47 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
default_error | |||
) |
Definition at line 389 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
eliminate | |||
) |
Definition at line 405 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
eliminate2 | |||
) |
Definition at line 457 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
EliminateQR | |||
) |
Definition at line 525 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
empty | |||
) |
Definition at line 397 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
error | |||
) |
Definition at line 236 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
matrices | |||
) |
Definition at line 303 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
matrices_NULL | |||
) |
Definition at line 259 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
operators | |||
) |
Definition at line 349 of file testJacobianFactor.cpp.
TEST | ( | JacobianFactor | , |
OverdeterminedEliminate | |||
) |
Definition at line 645 of file testJacobianFactor.cpp.