MRPT  1.9.9
Macros | Functions
matrix_ops_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/random.h>
#include <Eigen/Dense>
Include dependency graph for matrix_ops_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, setSize)
 
 TEST (Matrices, extractSubmatrixSymmetricalBlocks)
 
 TEST (Matrices, extractSubmatrixSymmetrical)
 

Macro Definition Documentation

◆ CHECK_AND_RET_ERROR

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

Definition at line 26 of file matrix_ops_unittest.cpp.

Function Documentation

◆ TEST() [1/3]

TEST ( Matrices  ,
setSize   
)

Definition at line 28 of file matrix_ops_unittest.cpp.

References mrpt::math::MatrixVectorBase< T, CMatrixFixed< T, ROWS, COLS > >::array(), mrpt::math::MatrixVectorBase< Scalar, Derived >::array(), EXPECT_TRUE(), and mrpt::math::CMatrixDynamic< T >::setSize().

Here is the call graph for this function:

◆ TEST() [2/3]

TEST ( Matrices  ,
extractSubmatrixSymmetricalBlocks   
)

Definition at line 65 of file matrix_ops_unittest.cpp.

References EXPECT_TRUE().

Here is the call graph for this function:

◆ TEST() [3/3]

TEST ( Matrices  ,
extractSubmatrixSymmetrical   
)

Definition at line 90 of file matrix_ops_unittest.cpp.

References EXPECT_TRUE(), and mrpt::math::extractSubmatrixSymmetrical().

Here is the call graph for this function:



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020