- 3.0.2 core module.
MatrixInversionTest.cpp File Reference
#include <gtest/gtest.h>
#include <ct/core/core.h>

Typedefs

using MatrixNd = Eigen::Matrix< double, n, n >
 
using VectorNd = Eigen::Matrix< double, n, 1 >
 

Functions

MatrixNd getRandomSymetricMatrix ()
 
Eigen::Matrix< double, n, ngetPositiveDefiniteMatrix ()
 
 TEST (MatrixInversionTest, CustomInversionTests)
 
int main (int argc, char **argv)
 

Variables

constexpr size_t n = 20
 

Typedef Documentation

◆ MatrixNd

using MatrixNd = Eigen::Matrix<double, n, n>

◆ VectorNd

using VectorNd = Eigen::Matrix<double, n, 1>

Function Documentation

◆ getRandomSymetricMatrix()

MatrixNd getRandomSymetricMatrix ( )

◆ getPositiveDefiniteMatrix()

Eigen::Matrix<double, n, n> getPositiveDefiniteMatrix ( )

References getRandomSymetricMatrix().

Referenced by TEST().

◆ TEST()

TEST ( MatrixInversionTest  ,
CustomInversionTests   
)

References getPositiveDefiniteMatrix(), i, and n.

◆ main()

int main ( int  argc,
char **  argv 
)

Variable Documentation

◆ n