![]() |
|
Classes | |
struct | UserReducer |
Functions | |
template<int DataLayout> | |
static void | test_trivial_reductions () |
template<typename Scalar , int DataLayout> | |
static void | test_simple_reductions () |
template<int DataLayout> | |
static void | test_reductions_in_expr () |
template<int DataLayout> | |
static void | test_full_reductions () |
template<int DataLayout> | |
static void | test_user_defined_reductions () |
template<int DataLayout> | |
static void | test_tensor_maps () |
template<int DataLayout> | |
static void | test_static_dims () |
template<int DataLayout> | |
static void | test_innermost_last_dims () |
template<int DataLayout> | |
static void | test_innermost_first_dims () |
template<int DataLayout> | |
static void | test_reduce_middle_dims () |
template<typename ScalarType , int num_elements, int max_mean> | |
void | test_sum_accuracy () |
EIGEN_DECLARE_TEST (cxx11_tensor_reduction) | |
EIGEN_DECLARE_TEST | ( | cxx11_tensor_reduction | ) |
References CALL_SUBTEST.
|
static |
|
static |
References i, j, k, max, out(), Eigen::TensorBase< Derived, AccessLevel >::setRandom(), and VERIFY_IS_EQUAL.
|
static |
References i, j, k, max, out(), Eigen::TensorBase< Derived, AccessLevel >::setRandom(), and VERIFY_IS_EQUAL.
|
static |
References i, j, k, max, out(), Eigen::TensorBase< Derived, AccessLevel >::setRandom(), and VERIFY_IS_EQUAL.
|
static |
|
static |
References Eigen::placeholders::all, Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::dimension(), i, j, k, max, min, prod(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::rank(), Eigen::TensorBase< Derived, AccessLevel >::setRandom(), VERIFY, VERIFY_IS_APPROX, and VERIFY_IS_EQUAL.
|
static |
References i, j, k, max, out(), Eigen::TensorBase< Derived, AccessLevel >::setRandom(), and VERIFY_IS_EQUAL.
void test_sum_accuracy | ( | ) |
References abs(), Eigen::numext::abs(), oomph::SarahBL::epsilon, i, Eigen::numext::maxi(), Eigen::TensorBase< Derived, AccessLevel >::setRandom(), sqrt(), and VERIFY_LE.
|
static |
References i, j, k, Eigen::TensorBase< Derived, AccessLevel >::setRandom(), and VERIFY_IS_EQUAL.
|
static |
References Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::dimension(), i, j, Eigen::TensorBase< Derived, AccessLevel >::setRandom(), and VERIFY_IS_EQUAL.
|
static |
References Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::dimension(), i, j, Eigen::TensorBase< Derived, AccessLevel >::setRandom(), VERIFY_IS_APPROX, and VERIFY_IS_EQUAL.