Namespaces | Typedefs | Functions | Variables
testJacobianFactor.cpp File Reference

Unit tests for Linear Factor. More...

#include <gtsam/base/TestableAssertions.h>
#include <CppUnitLite/TestHarness.h>
#include <gtsam/inference/VariableSlots.h>
#include <gtsam/linear/JacobianFactor.h>
#include <gtsam/linear/GaussianFactorGraph.h>
#include <gtsam/linear/GaussianConditional.h>
#include <gtsam/linear/VectorValues.h>
Include dependency graph for testJacobianFactor.cpp:

Go to the source code of this file.

Namespaces

 simple
 
 simple_graph
 

Typedefs

using Dims = std::vector< Eigen::Index >
 

Functions

Key simple_graph::keyX (10)
 
Key simple_graph::keyY (8)
 
Key simple_graph::keyZ (12)
 
int main ()
 
 TEST (JabobianFactor, Hessian_conversion)
 
 TEST (JabobianFactor, Hessian_conversion2)
 
 TEST (JabobianFactor, Hessian_conversion3)
 
 TEST (JacobianFactor, constraint_eliminate1)
 
 TEST (JacobianFactor, constraint_eliminate2)
 
 TEST (JacobianFactor, construct_from_graph)
 
 TEST (JacobianFactor, constructors_and_accessors)
 
 TEST (JacobianFactor, default_error)
 
 TEST (JacobianFactor, eliminate)
 
 TEST (JacobianFactor, eliminate2)
 
 TEST (JacobianFactor, EliminateQR)
 
 TEST (JacobianFactor, empty)
 
 TEST (JacobianFactor, error)
 
 TEST (JacobianFactor, matrices)
 
 TEST (JacobianFactor, matrices_NULL)
 
 TEST (JacobianFactor, operators)
 
 TEST (JacobianFactor, OverdeterminedEliminate)
 

Variables

Matrix simple_graph::A11 = I_2x2
 
Matrix simple_graph::A21 = -2 * I_2x2
 
Matrix simple_graph::A22 = 3 * I_2x2
 
Matrix simple_graph::A32 = -4 * I_2x2
 
Matrix simple_graph::A33 = 5 * I_2x2
 
Vector2 simple_graph::b1 (2, -1)
 
Vector2 simple_graph::b2 (4, -5)
 
Vector2 simple_graph::b3 (3, -6)
 
auto simple_graph::factor1
 
auto simple_graph::factor2
 
auto simple_graph::factor3
 
const GaussianFactorGraph simple_graph::factors { factor1, factor2, factor3 }
 
const Ordering simple_graph::ordering { keyX, keyY, keyZ }
 
double simple_graph::sigma1 = 0.1
 
double simple_graph::sigma2 = 0.5
 
double simple_graph::sigma3 = 1.0
 

Detailed Description

Unit tests for Linear Factor.

Author
Christian Potthast
Frank Dellaert

Definition in file testJacobianFactor.cpp.

Typedef Documentation

◆ Dims

using Dims = std::vector<Eigen::Index>

Definition at line 31 of file testJacobianFactor.cpp.

Function Documentation

◆ main()

int main ( )

Definition at line 669 of file testJacobianFactor.cpp.

◆ TEST() [1/17]

TEST ( JabobianFactor  ,
Hessian_conversion   
)

Definition at line 150 of file testJacobianFactor.cpp.

◆ TEST() [2/17]

TEST ( JabobianFactor  ,
Hessian_conversion2   
)

Definition at line 168 of file testJacobianFactor.cpp.

◆ TEST() [3/17]

TEST ( JabobianFactor  ,
Hessian_conversion3   
)

Definition at line 179 of file testJacobianFactor.cpp.

◆ TEST() [4/17]

TEST ( JacobianFactor  ,
constraint_eliminate1   
)

Definition at line 589 of file testJacobianFactor.cpp.

◆ TEST() [5/17]

TEST ( JacobianFactor  ,
constraint_eliminate2   
)

Definition at line 609 of file testJacobianFactor.cpp.

◆ TEST() [6/17]

TEST ( JacobianFactor  ,
construct_from_graph   
)

Definition at line 218 of file testJacobianFactor.cpp.

◆ TEST() [7/17]

TEST ( JacobianFactor  ,
constructors_and_accessors   
)

Definition at line 47 of file testJacobianFactor.cpp.

◆ TEST() [8/17]

TEST ( JacobianFactor  ,
default_error   
)

Definition at line 389 of file testJacobianFactor.cpp.

◆ TEST() [9/17]

TEST ( JacobianFactor  ,
eliminate   
)

Definition at line 405 of file testJacobianFactor.cpp.

◆ TEST() [10/17]

TEST ( JacobianFactor  ,
eliminate2   
)

Definition at line 457 of file testJacobianFactor.cpp.

◆ TEST() [11/17]

TEST ( JacobianFactor  ,
EliminateQR   
)

Definition at line 525 of file testJacobianFactor.cpp.

◆ TEST() [12/17]

TEST ( JacobianFactor  ,
empty   
)

Definition at line 397 of file testJacobianFactor.cpp.

◆ TEST() [13/17]

TEST ( JacobianFactor  ,
error   
)

Definition at line 236 of file testJacobianFactor.cpp.

◆ TEST() [14/17]

TEST ( JacobianFactor  ,
matrices   
)

Definition at line 303 of file testJacobianFactor.cpp.

◆ TEST() [15/17]

TEST ( JacobianFactor  ,
matrices_NULL   
)

Definition at line 259 of file testJacobianFactor.cpp.

◆ TEST() [16/17]

TEST ( JacobianFactor  ,
operators   
)

Definition at line 349 of file testJacobianFactor.cpp.

◆ TEST() [17/17]

TEST ( JacobianFactor  ,
OverdeterminedEliminate   
)

Definition at line 645 of file testJacobianFactor.cpp.



gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:18:35