![]() |
|
#include "main.h"
Functions | |
template<typename T1 , typename T2 > | |
std::enable_if_t< internal::is_same< T1, T2 >::value, bool > | is_same_eq (const T1 &a, const T2 &b) |
template<int Order, typename MatType > | |
void | check_auto_reshape4x4 (const MatType &m) |
template<typename MatType > | |
void | check_direct_access_reshape4x4 (const MatType &, internal::FixedInt< RowMajorBit >) |
template<typename MatType > | |
void | check_direct_access_reshape4x4 (const MatType &m, internal::FixedInt< 0 >) |
template<typename MatType > | |
void | reshape4x4 (const MatType &m0) |
template<typename BlockType > | |
void | reshape_block (const BlockType &M) |
EIGEN_DECLARE_TEST (reshape) | |
void check_auto_reshape4x4 | ( | const MatType & | m | ) |
References Eigen::AutoSize, Eigen::Dynamic, is_same_eq(), m, v1(), v2(), and VERIFY.
void check_direct_access_reshape4x4 | ( | const MatType & | , |
internal::FixedInt< RowMajorBit > | |||
) |
Referenced by reshape4x4().
void check_direct_access_reshape4x4 | ( | const MatType & | m, |
internal::FixedInt< 0 > | |||
) |
References m, and VERIFY_IS_EQUAL.
EIGEN_DECLARE_TEST | ( | reshape | ) |
References CALL_SUBTEST, reshape4x4(), and reshape_block().
std::enable_if_t<internal::is_same<T1, T2>::value, bool> is_same_eq | ( | const T1 & | a, |
const T2 & | b | ||
) |
Referenced by check_auto_reshape4x4(), and reshape4x4().
void reshape4x4 | ( | const MatType & | m0 | ) |
References Eigen::placeholders::all, Eigen::AutoSize, check_direct_access_reshape4x4(), Eigen::Dynamic, is_same_eq(), Eigen::placeholders::last, m, reshaped(), Eigen::RowMajorBit, Eigen::seq(), Eigen::PlainObjectBase< Derived >::setRandom(), v1(), v2(), VERIFY, VERIFY_IS_APPROX, and VERIFY_IS_EQUAL.
Referenced by EIGEN_DECLARE_TEST().
void reshape_block | ( | const BlockType & | M | ) |
References cols, i, j, rows, and VERIFY_IS_EQUAL.
Referenced by EIGEN_DECLARE_TEST().