Namespaces | Functions | Variables
testRegularJacobianFactor.cpp File Reference

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

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 (RegularJacobian, gradientAtZero)
 
 TEST (RegularJacobian, gradientAtZero_multiFactors)
 
 TEST (RegularJacobian, multiplyHessianAdd)
 
 TEST (RegularJacobianFactor, constructorNway)
 
 TEST (RegularJacobianFactor, hessianDiagonal)
 
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
 

Detailed Description

unit test regular jacobian factors

Author
Sungtae An
Date
Nov 12, 2014

Definition in file testRegularJacobianFactor.cpp.

Function Documentation

◆ double2vv()

VectorValues double2vv ( const double *  x,
const size_t  nrKeys,
const size_t  dim 
)

Definition at line 57 of file testRegularJacobianFactor.cpp.

◆ main()

int main ( )

Definition at line 224 of file testRegularJacobianFactor.cpp.

◆ TEST() [1/5]

TEST ( RegularJacobian  ,
gradientAtZero   
)

Definition at line 121 of file testRegularJacobianFactor.cpp.

◆ TEST() [2/5]

TEST ( RegularJacobian  ,
gradientAtZero_multiFactors   
)

Definition at line 141 of file testRegularJacobianFactor.cpp.

◆ TEST() [3/5]

TEST ( RegularJacobian  ,
multiplyHessianAdd   
)

Definition at line 174 of file testRegularJacobianFactor.cpp.

◆ TEST() [4/5]

TEST ( RegularJacobianFactor  ,
constructorNway   
)

Definition at line 87 of file testRegularJacobianFactor.cpp.

◆ TEST() [5/5]

TEST ( RegularJacobianFactor  ,
hessianDiagonal   
)

Definition at line 103 of file testRegularJacobianFactor.cpp.

◆ vv2double()

void vv2double ( const VectorValues vv,
double *  y,
const size_t  nrKeys,
const size_t  dim 
)

Definition at line 73 of file testRegularJacobianFactor.cpp.

Variable Documentation

◆ fixedDim

const size_t fixedDim = 3
static

Definition at line 30 of file testRegularJacobianFactor.cpp.

◆ nrKeys

const size_t nrKeys = 3
static

Definition at line 31 of file testRegularJacobianFactor.cpp.



gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:54