Main MRPT website > C++ reference for MRPT 1.5.6
Macros | Functions | Variables
matrix_ops1_unittest.cpp File Reference
#include <mrpt/math/CMatrixFixedNumeric.h>
#include <mrpt/math/CMatrixD.h>
#include <mrpt/math/matrix_serialization.h>
#include <mrpt/math/ops_matrices.h>
#include <mrpt/utils/metaprogramming.h>
#include <mrpt/utils/CMemoryStream.h>
#include <mrpt/random.h>
#include <gtest/gtest.h>
Include dependency graph for matrix_ops1_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, A_times_B_dyn)
 
 TEST (Matrices, A_times_B_fix)
 
 TEST (Matrices, SerializeCMatrixD)
 
 TEST (Matrices, EigenVal2x2dyn)
 
 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 36 of file matrix_ops1_unittest.cpp.

Function Documentation

◆ TEST() [1/7]

TEST ( Matrices  ,
A_times_B_dyn   
)

Definition at line 38 of file matrix_ops1_unittest.cpp.

References dat_A, dat_B, and dat_Cok.

◆ TEST() [2/7]

TEST ( Matrices  ,
A_times_B_fix   
)

Definition at line 52 of file matrix_ops1_unittest.cpp.

References dat_A, dat_B, and dat_Cok.

◆ TEST() [3/7]

TEST ( Matrices  ,
SerializeCMatrixD   
)

◆ TEST() [4/7]

TEST ( Matrices  ,
EigenVal2x2dyn   
)

Definition at line 97 of file matrix_ops1_unittest.cpp.

References mrpt::math::sum().

◆ TEST() [5/7]

TEST ( Matrices  ,
EigenVal3x3dyn   
)

Definition at line 109 of file matrix_ops1_unittest.cpp.

References mrpt::math::sum().

◆ TEST() [6/7]

TEST ( Matrices  ,
EigenVal2x2fix   
)

Definition at line 121 of file matrix_ops1_unittest.cpp.

References mrpt::math::sum().

◆ TEST() [7/7]

TEST ( Matrices  ,
EigenVal3x3fix   
)

Definition at line 133 of file matrix_ops1_unittest.cpp.

References mrpt::math::sum().

Variable Documentation

◆ dat_A

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

Definition at line 31 of file matrix_ops1_unittest.cpp.

Referenced by TEST().

◆ dat_B

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

Definition at line 32 of file matrix_ops1_unittest.cpp.

Referenced by TEST().

◆ dat_Cok

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

Definition at line 33 of file matrix_ops1_unittest.cpp.

Referenced by TEST().




Page generated by Doxygen 1.8.14 for MRPT 1.5.6 Git: 4c65e8431 Tue Apr 24 08:18:17 2018 +0200 at lun oct 28 01:35:26 CET 2019