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

Unit tests for Conditional gaussian. More...

#include <CppUnitLite/TestHarness.h>
#include <gtsam/base/TestableAssertions.h>
#include <gtsam/base/Matrix.h>
#include <gtsam/base/VerticalBlockMatrix.h>
#include <gtsam/inference/Symbol.h>
#include <gtsam/linear/JacobianFactor.h>
#include <gtsam/linear/GaussianConditional.h>
#include <gtsam/linear/GaussianDensity.h>
#include <gtsam/linear/GaussianBayesNet.h>
#include <gtsam/hybrid/HybridValues.h>
#include <iostream>
#include <sstream>
#include <vector>
Include dependency graph for testGaussianConditional.cpp:

Go to the source code of this file.

Namespaces

 density
 

Typedefs

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

Functions

int main ()
 
 TEST (GaussianConditional, constructor)
 
 TEST (GaussianConditional, equals)
 
 TEST (GaussianConditional, Error)
 
 TEST (GaussianConditional, Evaluate1)
 
 TEST (GaussianConditional, Evaluate2)
 
 TEST (GaussianConditional, FromMeanAndStddev)
 
 TEST (GaussianConditional, information)
 
 TEST (GaussianConditional, isGaussianFactor)
 
 TEST (GaussianConditional, likelihood)
 
 TEST (GaussianConditional, NegLogConstant)
 
 TEST (GaussianConditional, Print)
 
 TEST (GaussianConditional, sample)
 
 TEST (GaussianConditional, solve)
 
 TEST (GaussianConditional, solve_multifrontal)
 
 TEST (GaussianConditional, solve_simple)
 
 TEST (GaussianConditional, solveTranspose)
 

Variables

static const Key density::key = 77
 
static Matrix R
 
static constexpr double density::sigma = 3.0
 
static const double tol = 1e-5
 
static const auto density::unitPrior
 
static const auto density::widerPrior
 

Detailed Description

Unit tests for Conditional gaussian.

Author
Christian Potthast

Definition in file testGaussianConditional.cpp.

Typedef Documentation

◆ Dims

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

Definition at line 46 of file testGaussianConditional.cpp.

Function Documentation

◆ main()

int main ( )

Definition at line 557 of file testGaussianConditional.cpp.

◆ TEST() [1/16]

TEST ( GaussianConditional  ,
constructor   
)

Definition at line 49 of file testGaussianConditional.cpp.

◆ TEST() [2/16]

TEST ( GaussianConditional  ,
equals   
)

Definition at line 100 of file testGaussianConditional.cpp.

◆ TEST() [3/16]

TEST ( GaussianConditional  ,
Error   
)

Definition at line 472 of file testGaussianConditional.cpp.

◆ TEST() [4/16]

TEST ( GaussianConditional  ,
Evaluate1   
)

Definition at line 139 of file testGaussianConditional.cpp.

◆ TEST() [5/16]

TEST ( GaussianConditional  ,
Evaluate2   
)

Definition at line 178 of file testGaussianConditional.cpp.

◆ TEST() [6/16]

TEST ( GaussianConditional  ,
FromMeanAndStddev   
)

Definition at line 387 of file testGaussianConditional.cpp.

◆ TEST() [7/16]

TEST ( GaussianConditional  ,
information   
)

Definition at line 342 of file testGaussianConditional.cpp.

◆ TEST() [8/16]

TEST ( GaussianConditional  ,
isGaussianFactor   
)

Definition at line 363 of file testGaussianConditional.cpp.

◆ TEST() [9/16]

TEST ( GaussianConditional  ,
likelihood   
)

Definition at line 417 of file testGaussianConditional.cpp.

◆ TEST() [10/16]

TEST ( GaussianConditional  ,
NegLogConstant   
)

Definition at line 489 of file testGaussianConditional.cpp.

◆ TEST() [11/16]

TEST ( GaussianConditional  ,
Print   
)

Definition at line 503 of file testGaussianConditional.cpp.

◆ TEST() [12/16]

TEST ( GaussianConditional  ,
sample   
)

Definition at line 444 of file testGaussianConditional.cpp.

◆ TEST() [13/16]

TEST ( GaussianConditional  ,
solve   
)

Definition at line 210 of file testGaussianConditional.cpp.

◆ TEST() [14/16]

TEST ( GaussianConditional  ,
solve_multifrontal   
)

Definition at line 275 of file testGaussianConditional.cpp.

◆ TEST() [15/16]

TEST ( GaussianConditional  ,
solve_simple   
)

Definition at line 243 of file testGaussianConditional.cpp.

◆ TEST() [16/16]

TEST ( GaussianConditional  ,
solveTranspose   
)

create small Chordal Bayes Net x <- y x y d 1 1 9 1 5

Definition at line 310 of file testGaussianConditional.cpp.

Variable Documentation

◆ R

Matrix R
static
Initial value:
= (Matrix(2, 2) <<
-12.1244, -5.1962,
0., 4.6904).finished()

Definition at line 42 of file testGaussianConditional.cpp.

◆ tol

const double tol = 1e-5
static

Definition at line 40 of file testGaussianConditional.cpp.

ceres::Matrix
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > Matrix
Definition: gtsam/3rdparty/ceres/eigen.h:42


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