unit tests for FunctorizedFactor class More...
#include <CppUnitLite/TestHarness.h>
#include <gtsam/base/Testable.h>
#include <gtsam/base/TestableAssertions.h>
#include <gtsam/inference/Symbol.h>
#include <gtsam/nonlinear/FunctorizedFactor.h>
#include <gtsam/nonlinear/factorTesting.h>
Go to the source code of this file.
Classes | |
class | MultiplyFunctor |
Functor that takes a matrix and multiplies every element by m. More... | |
class | ProjectionFunctor |
Functor that performs Ax where A is a matrix and x is a vector. More... | |
Functions | |
int | main () |
TEST (FunctorizedFactor, Identity) | |
TEST (FunctorizedFactor, Multiply2) | |
TEST (FunctorizedFactor, Equality) | |
TEST (FunctorizedFactor, Jacobians) | |
TEST (FunctorizedFactor, Print) | |
TEST (FunctorizedFactor, Functional) | |
TEST (FunctorizedFactor, Lambda) | |
TEST (FunctorizedFactor, Identity2) | |
TEST (FunctorizedFactor, Jacobians2) | |
TEST (FunctorizedFactor, Functional2) | |
TEST (FunctorizedFactor, Lambda2) | |
Variables | |
Key | key = Symbol('X', 0) |
Key | keyA = Symbol('A', 0) |
Key | keyx = Symbol('x', 0) |
auto | model = noiseModel::Isotropic::Sigma(9, 1) |
auto | model2 = noiseModel::Isotropic::Sigma(3, 1) |
unit tests for FunctorizedFactor class
Definition in file testFunctorizedFactor.cpp.
int main | ( | void | ) |
Definition at line 271 of file testFunctorizedFactor.cpp.
TEST | ( | FunctorizedFactor | , |
Identity | |||
) |
Definition at line 71 of file testFunctorizedFactor.cpp.
TEST | ( | FunctorizedFactor | , |
Multiply2 | |||
) |
Definition at line 85 of file testFunctorizedFactor.cpp.
TEST | ( | FunctorizedFactor | , |
Equality | |||
) |
Definition at line 100 of file testFunctorizedFactor.cpp.
TEST | ( | FunctorizedFactor | , |
Jacobians | |||
) |
Definition at line 115 of file testFunctorizedFactor.cpp.
TEST | ( | FunctorizedFactor | , |
) |
Definition at line 133 of file testFunctorizedFactor.cpp.
TEST | ( | FunctorizedFactor | , |
Functional | |||
) |
Definition at line 156 of file testFunctorizedFactor.cpp.
TEST | ( | FunctorizedFactor | , |
Lambda | |||
) |
Definition at line 173 of file testFunctorizedFactor.cpp.
TEST | ( | FunctorizedFactor | , |
Identity2 | |||
) |
Definition at line 195 of file testFunctorizedFactor.cpp.
TEST | ( | FunctorizedFactor | , |
Jacobians2 | |||
) |
Definition at line 211 of file testFunctorizedFactor.cpp.
TEST | ( | FunctorizedFactor | , |
Functional2 | |||
) |
Definition at line 229 of file testFunctorizedFactor.cpp.
TEST | ( | FunctorizedFactor | , |
Lambda2 | |||
) |
Definition at line 247 of file testFunctorizedFactor.cpp.
Definition at line 31 of file testFunctorizedFactor.cpp.
Definition at line 34 of file testFunctorizedFactor.cpp.
Definition at line 35 of file testFunctorizedFactor.cpp.
auto model = noiseModel::Isotropic::Sigma(9, 1) |
Definition at line 37 of file testFunctorizedFactor.cpp.
auto model2 = noiseModel::Isotropic::Sigma(3, 1) |
Definition at line 38 of file testFunctorizedFactor.cpp.