unit tests for FunctorizedFactor class More...
#include <gtsam/nonlinear/FunctorizedFactor.h>
#include <gtsam/nonlinear/LevenbergMarquardtOptimizer.h>
#include <gtsam/nonlinear/factorTesting.h>
#include <gtsam/inference/Symbol.h>
#include <gtsam/base/Testable.h>
#include <gtsam/base/TestableAssertions.h>
#include <CppUnitLite/TestHarness.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 273 of file testFunctorizedFactor.cpp.
TEST | ( | FunctorizedFactor | , |
Identity | |||
) |
Definition at line 73 of file testFunctorizedFactor.cpp.
TEST | ( | FunctorizedFactor | , |
Multiply2 | |||
) |
Definition at line 87 of file testFunctorizedFactor.cpp.
TEST | ( | FunctorizedFactor | , |
Equality | |||
) |
Definition at line 102 of file testFunctorizedFactor.cpp.
TEST | ( | FunctorizedFactor | , |
Jacobians | |||
) |
Definition at line 117 of file testFunctorizedFactor.cpp.
TEST | ( | FunctorizedFactor | , |
) |
Definition at line 135 of file testFunctorizedFactor.cpp.
TEST | ( | FunctorizedFactor | , |
Functional | |||
) |
Definition at line 158 of file testFunctorizedFactor.cpp.
TEST | ( | FunctorizedFactor | , |
Lambda | |||
) |
Definition at line 175 of file testFunctorizedFactor.cpp.
TEST | ( | FunctorizedFactor | , |
Identity2 | |||
) |
Definition at line 197 of file testFunctorizedFactor.cpp.
TEST | ( | FunctorizedFactor | , |
Jacobians2 | |||
) |
Definition at line 213 of file testFunctorizedFactor.cpp.
TEST | ( | FunctorizedFactor | , |
Functional2 | |||
) |
Definition at line 231 of file testFunctorizedFactor.cpp.
TEST | ( | FunctorizedFactor | , |
Lambda2 | |||
) |
Definition at line 248 of file testFunctorizedFactor.cpp.
Definition at line 33 of file testFunctorizedFactor.cpp.
Definition at line 36 of file testFunctorizedFactor.cpp.
Definition at line 37 of file testFunctorizedFactor.cpp.
auto model = noiseModel::Isotropic::Sigma(9, 1) |
Definition at line 39 of file testFunctorizedFactor.cpp.
auto model2 = noiseModel::Isotropic::Sigma(3, 1) |
Definition at line 40 of file testFunctorizedFactor.cpp.