MRPT  2.0.4
Macros | Functions | Variables
matrix_ops1_unittest.cpp File Reference
#include <gtest/gtest.h>
#include <mrpt/io/CMemoryStream.h>
#include <mrpt/math/CMatrixD.h>
#include <mrpt/math/CMatrixFixed.h>
#include <mrpt/math/matrix_serialization.h>
#include <mrpt/random.h>
#include <mrpt/serialization/CArchive.h>
#include <Eigen/Dense>

Go to the source code of this file.

Macros

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

Functions

 TEST (Matrices, DynMat_size)
 
 TEST (Matrices, A_times_B_dyn)
 
 TEST (Matrices, A_times_B_fix)
 
 TEST (Matrices, SerializeCMatrixD)
 
 TEST (Matrices, EigenVal2x2dyn)
 
 TEST (Matrices, eig_symmetric)
 
 TEST (Matrices, EigenVal3x3dyn)
 
 TEST (Matrices, EigenVal2x2fix)
 
 TEST (Matrices, EigenVal3x3fix)
 

Variables

const double dat_A [] = {4, 5, 8, -2, 1, 3}
 
const double dat_B [] = {2, 6, 9, 8}
 
const double dat_Cok [] = {53, 64, -2, 32, 29, 30}
 

Macro Definition Documentation

◆ CHECK_AND_RET_ERROR

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

Definition at line 32 of file matrix_ops1_unittest.cpp.

Function Documentation

◆ TEST() [1/9]

TEST ( Matrices  ,
A_times_B_dyn   
)

◆ TEST() [2/9]

TEST ( Matrices  ,
A_times_B_fix   
)

◆ TEST() [3/9]

TEST ( Matrices  ,
DynMat_size   
)

Definition at line 34 of file matrix_ops1_unittest.cpp.

References dat_A, and EXPECT_EQ().

◆ TEST() [4/9]

TEST ( Matrices  ,
eig_symmetric   
)

◆ TEST() [5/9]

TEST ( Matrices  ,
EigenVal2x2dyn   
)

◆ TEST() [6/9]

TEST ( Matrices  ,
EigenVal2x2fix   
)

◆ TEST() [7/9]

TEST ( Matrices  ,
EigenVal3x3dyn   
)

◆ TEST() [8/9]

TEST ( Matrices  ,
EigenVal3x3fix   
)

◆ TEST() [9/9]

TEST ( Matrices  ,
SerializeCMatrixD   
)

Variable Documentation

◆ dat_A

const double dat_A[] = {4, 5, 8, -2, 1, 3}

Definition at line 28 of file matrix_ops1_unittest.cpp.

Referenced by TEST().

◆ dat_B

const double dat_B[] = {2, 6, 9, 8}

Definition at line 29 of file matrix_ops1_unittest.cpp.

Referenced by TEST().

◆ dat_Cok

const double dat_Cok[] = {53, 64, -2, 32, 29, 30}

Definition at line 30 of file matrix_ops1_unittest.cpp.

Referenced by TEST().




Page generated by Doxygen 1.8.17 for MRPT 2.0.4 at Sat Jun 27 14:00:59 UTC 2020