Classes | Functions | Variables
testFunctorizedFactor.cpp File Reference

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>
Include dependency graph for testFunctorizedFactor.cpp:

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)
 

Detailed Description

unit tests for FunctorizedFactor class

Date
May 31, 2020
Author
Varun Agrawal

Definition in file testFunctorizedFactor.cpp.

Function Documentation

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  ,
Print   
)

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.

Variable Documentation

Key key = Symbol('X', 0)

Definition at line 31 of file testFunctorizedFactor.cpp.

Key keyA = Symbol('A', 0)

Definition at line 34 of file testFunctorizedFactor.cpp.

Key keyx = Symbol('x', 0)

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.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:41