unit tests for Block Automatic Differentiation More...
#include <CppUnitLite/TestHarness.h>#include <gtsam/base/Testable.h>#include <gtsam/nonlinear/ExpressionFactor.h>#include <gtsam/nonlinear/NonlinearFactorGraph.h>#include <gtsam/nonlinear/PriorFactor.h>#include <gtsam/nonlinear/expressionTesting.h>#include <gtsam/slam/GeneralSFMFactor.h>#include <gtsam/slam/ProjectionFactor.h>#include <gtsam/slam/expressions.h>
Go to the source code of this file.
| Classes | |
| struct | Combine | 
| struct | leaf::MyValues | 
| class | TestNaryFactor | 
| Namespaces | |
| leaf | |
| test_operator | |
| Typedefs | |
| typedef Eigen::Matrix< double, 9, 9 > | Matrix9 | 
| typedef Eigen::Matrix< double, 9, 3 > | Matrix93 | 
| Variables | |
| SharedNoiseModel | model = noiseModel::Unit::Create(2) | 
| Point2_ | leaf::p (2) | 
| Point2(* | Project )(const Point3 &, OptionalJacobian< 2, 3 >) = &PinholeBase::Project | 
| leaf::MyValues | leaf::values | 
unit tests for Block Automatic Differentiation
Definition in file testExpressionFactor.cpp.
| typedef Eigen::Matrix<double,9,9> Matrix9 | 
Definition at line 146 of file testExpressionFactor.cpp.
| typedef Eigen::Matrix<double,9,3> Matrix93 | 
Definition at line 138 of file testExpressionFactor.cpp.
| 
 | static | 
Definition at line 530 of file testExpressionFactor.cpp.
| Rot3 composeThree | ( | const Rot3 & | R1, | 
| const Rot3 & | R2, | ||
| const Rot3 & | R3, | ||
| OptionalJacobian< 3, 3 > | H1, | ||
| OptionalJacobian< 3, 3 > | H2, | ||
| OptionalJacobian< 3, 3 > | H3 | ||
| ) | 
Definition at line 403 of file testExpressionFactor.cpp.
| Vector9 id9 | ( | const Vector9 & | v, | 
| OptionalJacobian< 9, 9 > | H | ||
| ) | 
Definition at line 147 of file testExpressionFactor.cpp.
| int main | ( | ) | 
Definition at line 775 of file testExpressionFactor.cpp.
| Point2 measured | ( | - | 17, | 
| 30 | |||
| ) | 
| 
 | static | 
Definition at line 171 of file testExpressionFactor.cpp.
| TEST | ( | Expression | , | 
| testMultipleCompositions | |||
| ) | 
Definition at line 487 of file testExpressionFactor.cpp.
| TEST | ( | Expression | , | 
| testMultipleCompositions2 | |||
| ) | 
Definition at line 539 of file testExpressionFactor.cpp.
| TEST | ( | ExpressionFactor | , | 
| Binary | |||
| ) | 
Definition at line 177 of file testExpressionFactor.cpp.
| TEST | ( | ExpressionFactor | , | 
| Compose1 | |||
| ) | 
Definition at line 315 of file testExpressionFactor.cpp.
| TEST | ( | ExpressionFactor | , | 
| compose2 | |||
| ) | 
Definition at line 345 of file testExpressionFactor.cpp.
| TEST | ( | ExpressionFactor | , | 
| compose3 | |||
| ) | 
Definition at line 374 of file testExpressionFactor.cpp.
| TEST | ( | ExpressionFactor | , | 
| composeTernary | |||
| ) | 
Definition at line 415 of file testExpressionFactor.cpp.
| TEST | ( | ExpressionFactor | , | 
| Constrained | |||
| ) | 
Definition at line 95 of file testExpressionFactor.cpp.
| TEST | ( | ExpressionFactor | , | 
| crossProduct | |||
| ) | 
Definition at line 741 of file testExpressionFactor.cpp.
| TEST | ( | ExpressionFactor | , | 
| dotProduct | |||
| ) | 
Definition at line 757 of file testExpressionFactor.cpp.
| TEST | ( | ExpressionFactor | , | 
| Leaf | |||
| ) | 
Definition at line 56 of file testExpressionFactor.cpp.
| TEST | ( | ExpressionFactor | , | 
| Model | |||
| ) | 
Definition at line 74 of file testExpressionFactor.cpp.
| TEST | ( | ExpressionFactor | , | 
| MultiplyWithInverse | |||
| ) | 
Definition at line 571 of file testExpressionFactor.cpp.
| TEST | ( | ExpressionFactor | , | 
| MultiplyWithInverseFunction | |||
| ) | 
Definition at line 604 of file testExpressionFactor.cpp.
| TEST | ( | ExpressionFactor | , | 
| normalize | |||
| ) | 
Definition at line 727 of file testExpressionFactor.cpp.
| TEST | ( | ExpressionFactor | , | 
| push_back | |||
| ) | 
Definition at line 469 of file testExpressionFactor.cpp.
| TEST | ( | ExpressionFactor | , | 
| Shallow | |||
| ) | 
Definition at line 212 of file testExpressionFactor.cpp.
| TEST | ( | ExpressionFactor | , | 
| tree | |||
| ) | 
Definition at line 268 of file testExpressionFactor.cpp.
| TEST | ( | ExpressionFactor | , | 
| tree_finite_differences | |||
| ) | 
Definition at line 446 of file testExpressionFactor.cpp.
| TEST | ( | ExpressionFactor | , | 
| Unary | |||
| ) | 
Definition at line 113 of file testExpressionFactor.cpp.
| TEST | ( | ExpressionFactor | , | 
| variadicTemplate | |||
| ) | 
Definition at line 704 of file testExpressionFactor.cpp.
| TEST | ( | ExpressionFactor | , | 
| Wide | |||
| ) | 
Definition at line 152 of file testExpressionFactor.cpp.
| Vector9 wide | ( | const Point3 & | p, | 
| OptionalJacobian< 9, 3 > | H | ||
| ) | 
Definition at line 139 of file testExpressionFactor.cpp.
| SharedNoiseModel model = noiseModel::Unit::Create(2) | 
Definition at line 36 of file testExpressionFactor.cpp.
| Point2(* Project) (const Point3 &, OptionalJacobian< 2, 3 >) = &PinholeBase::Project | 
Definition at line 40 of file testExpressionFactor.cpp.