unit test regular jacobian factors More...
#include <gtsam/linear/RegularJacobianFactor.h>
#include <gtsam/linear/GaussianFactorGraph.h>
#include <gtsam/linear/GaussianConditional.h>
#include <gtsam/linear/VectorValues.h>
#include <gtsam/base/TestableAssertions.h>
#include <CppUnitLite/TestHarness.h>
Go to the source code of this file.
Namespaces | |
simple | |
simple2 | |
Functions | |
VectorValues | double2vv (const double *x, const size_t nrKeys, const size_t dim) |
int | main () |
TEST (RegularJacobianFactor, constructorNway) | |
TEST (RegularJacobianFactor, hessianDiagonal) | |
TEST (RegularJacobian, gradientAtZero) | |
TEST (RegularJacobian, gradientAtZero_multiFactors) | |
TEST (RegularJacobian, multiplyHessianAdd) | |
void | vv2double (const VectorValues &vv, double *y, const size_t nrKeys, const size_t dim) |
Variables | |
static const size_t | fixedDim = 3 |
static const size_t | nrKeys = 3 |
unit test regular jacobian factors
Definition in file testRegularJacobianFactor.cpp.
VectorValues double2vv | ( | const double * | x, |
const size_t | nrKeys, | ||
const size_t | dim | ||
) |
Definition at line 57 of file testRegularJacobianFactor.cpp.
int main | ( | void | ) |
Definition at line 224 of file testRegularJacobianFactor.cpp.
TEST | ( | RegularJacobianFactor | , |
constructorNway | |||
) |
Definition at line 87 of file testRegularJacobianFactor.cpp.
TEST | ( | RegularJacobianFactor | , |
hessianDiagonal | |||
) |
Definition at line 103 of file testRegularJacobianFactor.cpp.
TEST | ( | RegularJacobian | , |
gradientAtZero | |||
) |
Definition at line 121 of file testRegularJacobianFactor.cpp.
TEST | ( | RegularJacobian | , |
gradientAtZero_multiFactors | |||
) |
Definition at line 141 of file testRegularJacobianFactor.cpp.
TEST | ( | RegularJacobian | , |
multiplyHessianAdd | |||
) |
Definition at line 174 of file testRegularJacobianFactor.cpp.
void vv2double | ( | const VectorValues & | vv, |
double * | y, | ||
const size_t | nrKeys, | ||
const size_t | dim | ||
) |
Definition at line 73 of file testRegularJacobianFactor.cpp.
|
static |
Definition at line 30 of file testRegularJacobianFactor.cpp.
|
static |
Definition at line 31 of file testRegularJacobianFactor.cpp.