MRPT
2.0.4
|
#include <gtest/gtest.h>
#include <mrpt/math/CMatrixFixed.h>
#include <mrpt/math/CVectorFixed.h>
#include <mrpt/math/geometry.h>
#include <mrpt/math/ops_matrices.h>
#include <mrpt/random.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, inv_4x4_fix) | |
TEST (Matrices, inv_LLt_4x4_fix) | |
TEST (Matrices, inv_6x6_fix) | |
TEST (Matrices, inv_6x6_dyn) | |
TEST (Matrices, transpose) | |
TEST (Matrices, multiply_A_skew3) | |
TEST (Matrices, multiply_skew3_A) | |
TEST (Matrices, fromMatlabStringFormat) | |
#define CHECK_AND_RET_ERROR | ( | _COND_, | |
_MSG_ | |||
) | EXPECT_FALSE(_COND_) << _MSG_; |
Definition at line 27 of file matrix_ops2_unittest.cpp.
Referenced by TEST().
TEST | ( | Matrices | , |
inv_4x4_fix | |||
) |
Definition at line 29 of file matrix_ops2_unittest.cpp.
References CHECK_AND_RET_ERROR, and dat_A.
TEST | ( | Matrices | , |
inv_LLt_4x4_fix | |||
) |
Definition at line 51 of file matrix_ops2_unittest.cpp.
References CHECK_AND_RET_ERROR, and dat_A.
TEST | ( | Matrices | , |
inv_6x6_fix | |||
) |
Definition at line 75 of file matrix_ops2_unittest.cpp.
References CHECK_AND_RET_ERROR, and dat_A.
TEST | ( | Matrices | , |
inv_6x6_dyn | |||
) |
Definition at line 112 of file matrix_ops2_unittest.cpp.
References CHECK_AND_RET_ERROR, and dat_A.
TEST | ( | Matrices | , |
transpose | |||
) |
Definition at line 149 of file matrix_ops2_unittest.cpp.
References mrpt::math::CMatrixDynamic< T >::asEigen(), dat_A, and EXPECT_EQ().
TEST | ( | Matrices | , |
multiply_A_skew3 | |||
) |
Definition at line 160 of file matrix_ops2_unittest.cpp.
References mrpt::math::CMatrixFixed< T, ROWS, COLS >::asEigen(), mrpt::math::CMatrixDynamic< T >::asEigen(), dat_A, EXPECT_EQ(), mrpt::math::multiply_A_skew3(), R, and mrpt::math::skew_symmetric3().
TEST | ( | Matrices | , |
multiply_skew3_A | |||
) |
Definition at line 185 of file matrix_ops2_unittest.cpp.
References mrpt::math::CMatrixFixed< T, ROWS, COLS >::asEigen(), mrpt::math::CMatrixDynamic< T >::asEigen(), dat_A, EXPECT_EQ(), mrpt::math::multiply_skew3_A(), R, and mrpt::math::skew_symmetric3().
TEST | ( | Matrices | , |
fromMatlabStringFormat | |||
) |
Definition at line 210 of file matrix_ops2_unittest.cpp.
References mrpt::math::CVectorDynamic< T >::cols(), mrpt::math::CMatrixDynamic< T >::cols(), EXPECT_EQ(), EXPECT_NEAR(), EXPECT_TRUE(), mrpt::math::MatrixVectorBase< Scalar, Derived >::fromMatlabStringFormat(), mrpt::math::MatrixVectorBase< T, CMatrixFixed< T, ROWS, COLS > >::fromMatlabStringFormat(), ok, mrpt::math::CVectorDynamic< T >::rows(), mrpt::math::CMatrixDynamic< T >::rows(), mrpt::math::CVectorDynamic< T >::size(), mrpt::square(), and mrpt::math::sum().
Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020 |