MRPT  2.0.0
Macros | Functions
matrix_ops3_unittest.cpp File Reference
#include <gtest/gtest.h>
#include <mrpt/math/CMatrixDynamic.h>
#include <mrpt/math/CMatrixFixed.h>
#include <mrpt/math/ops_matrices.h>
#include <mrpt/math/utils.h>
#include <mrpt/random.h>
#include <Eigen/Dense>
Include dependency graph for matrix_ops3_unittest.cpp:

Go to the source code of this file.

Macros

#define CHECK_AND_RET_ERROR(_COND_, _MSG_)   EXPECT_FALSE(_COND_) << _MSG_;
 

Functions

 TEST (Matrices, HCHt_3x2_2x2_2x3)
 
 TEST (Matrices, HCHt_scalar_1x2_2x2_2x1)
 
 TEST (Matrices, det_2x2_dyn)
 
 TEST (Matrices, det_2x2_fix)
 
 TEST (Matrices, det_3x3_dyn)
 
 TEST (Matrices, det_3x3_fix)
 
 TEST (Matrices, det_4x4_dyn)
 
 TEST (Matrices, det_4x4_fix)
 
 TEST (Matrices, det_10x10_dyn)
 
 TEST (Matrices, chol_2x2_dyn)
 
 TEST (Matrices, chol_2x2_fix)
 
 TEST (Matrices, chol_3x3_dyn)
 
 TEST (Matrices, chol_3x3_fix)
 
 TEST (Matrices, chol_10x10_dyn)
 

Macro Definition Documentation

◆ CHECK_AND_RET_ERROR

#define CHECK_AND_RET_ERROR (   _COND_,
  _MSG_ 
)    EXPECT_FALSE(_COND_) << _MSG_;

Definition at line 27 of file matrix_ops3_unittest.cpp.

Referenced by TEST().

Function Documentation

◆ TEST() [1/14]

TEST ( Matrices  ,
HCHt_3x2_2x2_2x3   
)

Definition at line 29 of file matrix_ops3_unittest.cpp.

References EXPECT_NEAR(), mrpt::math::multiply_HCHt(), and R.

Here is the call graph for this function:

◆ TEST() [2/14]

TEST ( Matrices  ,
HCHt_scalar_1x2_2x2_2x1   
)

Definition at line 48 of file matrix_ops3_unittest.cpp.

References mrpt::math::CMatrixDynamic< T >::asEigen(), CHECK_AND_RET_ERROR, and mrpt::math::multiply_HCHt_scalar().

Here is the call graph for this function:

◆ TEST() [3/14]

TEST ( Matrices  ,
det_2x2_dyn   
)

Definition at line 64 of file matrix_ops3_unittest.cpp.

References CHECK_AND_RET_ERROR, and dat_A.

◆ TEST() [4/14]

TEST ( Matrices  ,
det_2x2_fix   
)

Definition at line 75 of file matrix_ops3_unittest.cpp.

References CHECK_AND_RET_ERROR, and dat_A.

◆ TEST() [5/14]

TEST ( Matrices  ,
det_3x3_dyn   
)

Definition at line 86 of file matrix_ops3_unittest.cpp.

References CHECK_AND_RET_ERROR, and dat_A.

◆ TEST() [6/14]

TEST ( Matrices  ,
det_3x3_fix   
)

Definition at line 98 of file matrix_ops3_unittest.cpp.

References CHECK_AND_RET_ERROR, and dat_A.

◆ TEST() [7/14]

TEST ( Matrices  ,
det_4x4_dyn   
)

Definition at line 109 of file matrix_ops3_unittest.cpp.

References CHECK_AND_RET_ERROR, and dat_A.

◆ TEST() [8/14]

TEST ( Matrices  ,
det_4x4_fix   
)

Definition at line 121 of file matrix_ops3_unittest.cpp.

References CHECK_AND_RET_ERROR, and dat_A.

◆ TEST() [9/14]

TEST ( Matrices  ,
det_10x10_dyn   
)

Definition at line 133 of file matrix_ops3_unittest.cpp.

References CHECK_AND_RET_ERROR, and dat_A.

◆ TEST() [10/14]

TEST ( Matrices  ,
chol_2x2_dyn   
)

Definition at line 167 of file matrix_ops3_unittest.cpp.

References CHECK_AND_RET_ERROR, and dat_A.

◆ TEST() [11/14]

TEST ( Matrices  ,
chol_2x2_fix   
)

Definition at line 181 of file matrix_ops3_unittest.cpp.

References CHECK_AND_RET_ERROR, and dat_A.

◆ TEST() [12/14]

TEST ( Matrices  ,
chol_3x3_dyn   
)

Definition at line 196 of file matrix_ops3_unittest.cpp.

References CHECK_AND_RET_ERROR, and dat_A.

◆ TEST() [13/14]

TEST ( Matrices  ,
chol_3x3_fix   
)

Definition at line 215 of file matrix_ops3_unittest.cpp.

References CHECK_AND_RET_ERROR, and dat_A.

◆ TEST() [14/14]

TEST ( Matrices  ,
chol_10x10_dyn   
)

Definition at line 234 of file matrix_ops3_unittest.cpp.

References CHECK_AND_RET_ERROR, and dat_A.




Page generated by Doxygen 1.8.14 for MRPT 2.0.0 Git: b38439d21 Tue Mar 31 19:58:06 2020 +0200 at miƩ abr 1 00:50:30 CEST 2020