Typedefs | Functions
testGaussianFactorGraph.cpp File Reference
#include <gtsam/linear/GaussianFactorGraph.h>
#include <gtsam/linear/GaussianConditional.h>
#include <gtsam/linear/GaussianBayesNet.h>
#include <gtsam/inference/VariableSlots.h>
#include <gtsam/inference/VariableIndex.h>
#include <gtsam/base/debug.h>
#include <gtsam/base/VerticalBlockMatrix.h>
#include <gtsam/base/TestableAssertions.h>
#include <CppUnitLite/TestHarness.h>
Include dependency graph for testGaussianFactorGraph.cpp:

Go to the source code of this file.

Typedefs

typedef std::tuple< size_t, size_t, double > SparseTriplet
 

Functions

static GaussianFactorGraph createGaussianFactorGraphWithHessianFactor ()
 
static GaussianFactorGraph createSimpleGaussianFactorGraph ()
 Factor graph with 2 2D factors on 3 2D variables. More...
 
int main ()
 
 TEST (GaussianFactorGraph, initialization)
 
 TEST (GaussianFactorGraph, sparseJacobian)
 
 TEST (GaussianFactorGraph, matrices)
 
 TEST (GaussianFactorGraph, gradient)
 
 TEST (GaussianFactorGraph, transposeMultiplication)
 
 TEST (GaussianFactorGraph, eliminate_empty)
 
 TEST (GaussianFactorGraph, matrices2)
 
 TEST (GaussianFactorGraph, multiplyHessianAdd)
 
 TEST (GaussianFactorGraph, multiplyHessianAdd2)
 
 TEST (GaussianFactorGraph, matricesMixed)
 
 TEST (GaussianFactorGraph, gradientAtZero)
 
 TEST (GaussianFactorGraph, clone)
 
 TEST (GaussianFactorGraph, negate)
 
 TEST (GaussianFactorGraph, hessianDiagonal)
 
 TEST (GaussianFactorGraph, DenseSolve)
 
 TEST (GaussianFactorGraph, ProbPrime)
 
bool triplet_equal (SparseTriplet a, SparseTriplet b)
 

Typedef Documentation

◆ SparseTriplet

typedef std::tuple<size_t, size_t, double> SparseTriplet

Definition at line 35 of file testGaussianFactorGraph.cpp.

Function Documentation

◆ createGaussianFactorGraphWithHessianFactor()

static GaussianFactorGraph createGaussianFactorGraphWithHessianFactor ( )
static

Definition at line 294 of file testGaussianFactorGraph.cpp.

◆ createSimpleGaussianFactorGraph()

static GaussianFactorGraph createSimpleGaussianFactorGraph ( )
static

Factor graph with 2 2D factors on 3 2D variables.

Definition at line 183 of file testGaussianFactorGraph.cpp.

◆ main()

int main ( void  )

Definition at line 439 of file testGaussianFactorGraph.cpp.

◆ TEST() [1/16]

TEST ( GaussianFactorGraph  ,
initialization   
)

Definition at line 49 of file testGaussianFactorGraph.cpp.

◆ TEST() [2/16]

TEST ( GaussianFactorGraph  ,
sparseJacobian   
)

Definition at line 74 of file testGaussianFactorGraph.cpp.

◆ TEST() [3/16]

TEST ( GaussianFactorGraph  ,
matrices   
)

Definition at line 130 of file testGaussianFactorGraph.cpp.

◆ TEST() [4/16]

TEST ( GaussianFactorGraph  ,
gradient   
)

Definition at line 199 of file testGaussianFactorGraph.cpp.

◆ TEST() [5/16]

TEST ( GaussianFactorGraph  ,
transposeMultiplication   
)

Definition at line 223 of file testGaussianFactorGraph.cpp.

◆ TEST() [6/16]

TEST ( GaussianFactorGraph  ,
eliminate_empty   
)

Definition at line 239 of file testGaussianFactorGraph.cpp.

◆ TEST() [7/16]

TEST ( GaussianFactorGraph  ,
matrices2   
)

Definition at line 257 of file testGaussianFactorGraph.cpp.

◆ TEST() [8/16]

TEST ( GaussianFactorGraph  ,
multiplyHessianAdd   
)

Definition at line 274 of file testGaussianFactorGraph.cpp.

◆ TEST() [9/16]

TEST ( GaussianFactorGraph  ,
multiplyHessianAdd2   
)

Definition at line 302 of file testGaussianFactorGraph.cpp.

◆ TEST() [10/16]

TEST ( GaussianFactorGraph  ,
matricesMixed   
)

Definition at line 329 of file testGaussianFactorGraph.cpp.

◆ TEST() [11/16]

TEST ( GaussianFactorGraph  ,
gradientAtZero   
)

Definition at line 340 of file testGaussianFactorGraph.cpp.

◆ TEST() [12/16]

TEST ( GaussianFactorGraph  ,
clone   
)

Add null factor

Add null factor

Definition at line 351 of file testGaussianFactorGraph.cpp.

◆ TEST() [13/16]

TEST ( GaussianFactorGraph  ,
negate   
)

Add null factor

Definition at line 380 of file testGaussianFactorGraph.cpp.

◆ TEST() [14/16]

TEST ( GaussianFactorGraph  ,
hessianDiagonal   
)

Definition at line 395 of file testGaussianFactorGraph.cpp.

◆ TEST() [15/16]

TEST ( GaussianFactorGraph  ,
DenseSolve   
)

Definition at line 409 of file testGaussianFactorGraph.cpp.

◆ TEST() [16/16]

TEST ( GaussianFactorGraph  ,
ProbPrime   
)

Definition at line 417 of file testGaussianFactorGraph.cpp.

◆ triplet_equal()

bool triplet_equal ( SparseTriplet  a,
SparseTriplet  b 
)

Definition at line 36 of file testGaussianFactorGraph.cpp.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:55