Functions | Variables
testSymmetricBlockMatrix.cpp File Reference

Unit tests for SymmetricBlockMatrix class. More...

#include <CppUnitLite/TestHarness.h>
#include <gtsam/base/SymmetricBlockMatrix.h>
Include dependency graph for testSymmetricBlockMatrix.cpp:

Go to the source code of this file.

Functions

int main ()
 
 TEST (SymmetricBlockMatrix, ReadBlocks)
 
 TEST (SymmetricBlockMatrix, WriteBlocks)
 
 TEST (SymmetricBlockMatrix, Ranges)
 
 TEST (SymmetricBlockMatrix, expressions)
 
 TEST (SymmetricBlockMatrix, inverseInPlace)
 

Variables

static SymmetricBlockMatrix testBlockMatrix (std::vector< size_t >{3, 2, 1},(Matrix(6, 6)<< 1, 2, 3, 4, 5, 6, 2, 8, 9, 10, 11, 12, 3, 9, 15, 16, 17, 18, 4, 10, 16, 22, 23, 24, 5, 11, 17, 23, 29, 30, 6, 12, 18, 24, 30, 36).finished())
 

Detailed Description

Unit tests for SymmetricBlockMatrix class.

Author
Richard Roberts

Definition in file testSymmetricBlockMatrix.cpp.

Function Documentation

◆ main()

int main ( void  )

Definition at line 172 of file testSymmetricBlockMatrix.cpp.

◆ TEST() [1/5]

TEST ( SymmetricBlockMatrix  ,
ReadBlocks   
)

Definition at line 35 of file testSymmetricBlockMatrix.cpp.

◆ TEST() [2/5]

TEST ( SymmetricBlockMatrix  ,
WriteBlocks   
)

Definition at line 54 of file testSymmetricBlockMatrix.cpp.

◆ TEST() [3/5]

TEST ( SymmetricBlockMatrix  ,
Ranges   
)

Definition at line 80 of file testSymmetricBlockMatrix.cpp.

◆ TEST() [4/5]

TEST ( SymmetricBlockMatrix  ,
expressions   
)

Definition at line 100 of file testSymmetricBlockMatrix.cpp.

◆ TEST() [5/5]

TEST ( SymmetricBlockMatrix  ,
inverseInPlace   
)

Definition at line 154 of file testSymmetricBlockMatrix.cpp.

Variable Documentation

◆ testBlockMatrix

SymmetricBlockMatrix testBlockMatrix(std::vector< size_t >{3, 2, 1},(Matrix(6, 6)<< 1, 2, 3, 4, 5, 6, 2, 8, 9, 10, 11, 12, 3, 9, 15, 16, 17, 18, 4, 10, 16, 22, 23, 24, 5, 11, 17, 23, 29, 30, 6, 12, 18, 24, 30, 36).finished())
static


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