Unit test for OptionalJacobian. More...
#include <gtsam/base/Matrix.h>
#include <gtsam/base/OptionalJacobian.h>
#include <CppUnitLite/TestHarness.h>
Go to the source code of this file.
Functions | |
int | main () |
TEST (OptionalJacobian, Constructors) | |
void | test (OptionalJacobian< 2, 3 > H=boost::none) |
TEST (OptionalJacobian, Fixed) | |
TEST (OptionalJacobian, Dynamic) | |
TEST (OptionalJacobian, Block) | |
void | test2 (OptionalJacobian<-1,-1 > H=boost::none) |
void | test3 (double add, OptionalJacobian< 2, 1 > H=boost::none) |
void | test4 (OptionalJacobian< 2, 3 > H=boost::none) |
Variables | |
Matrix | kTestMatrix = (Matrix23() << 11,12,13,21,22,23).finished() |
int main | ( | void | ) |
Definition at line 160 of file testOptionalJacobian.cpp.
TEST | ( | OptionalJacobian | , |
Constructors | |||
) |
Definition at line 27 of file testOptionalJacobian.cpp.
void test | ( | OptionalJacobian< 2, 3 > | H = boost::none | ) |
Definition at line 66 of file testOptionalJacobian.cpp.
TEST | ( | OptionalJacobian | , |
Fixed | |||
) |
Definition at line 71 of file testOptionalJacobian.cpp.
TEST | ( | OptionalJacobian | , |
Dynamic | |||
) |
Definition at line 112 of file testOptionalJacobian.cpp.
TEST | ( | OptionalJacobian | , |
Block | |||
) |
Definition at line 149 of file testOptionalJacobian.cpp.
void test2 | ( | OptionalJacobian<-1,-1 > | H = boost::none | ) |
Definition at line 107 of file testOptionalJacobian.cpp.
void test3 | ( | double | add, |
OptionalJacobian< 2, 1 > | H = boost::none |
||
) |
Definition at line 136 of file testOptionalJacobian.cpp.
void test4 | ( | OptionalJacobian< 2, 3 > | H = boost::none | ) |
Definition at line 141 of file testOptionalJacobian.cpp.
Matrix kTestMatrix = (Matrix23() << 11,12,13,21,22,23).finished() |
Definition at line 64 of file testOptionalJacobian.cpp.