TR-mbed 1.0
Loading...
Searching...
No Matches
Classes | Macros | Functions
cxx11_tensor_block_access.cpp File Reference
#include "main.h"
#include <algorithm>
#include <set>
#include <Eigen/CXX11/Tensor>

Classes

class  EqualityChecker< Scalar, StorageIndex, Dim >
 

Macros

#define TEST_LAYOUTS(NAME)
 
#define TEST_LAYOUTS_AND_DIMS(TYPE, NAME)
 
#define TEST_LAYOUTS_WITH_ARG(NAME, ARG)
 

Functions

 EIGEN_DECLARE_TEST (cxx11_tensor_block_access)
 

Macro Definition Documentation

◆ TEST_LAYOUTS

#define TEST_LAYOUTS (   NAME)
Value:
CALL_SUBTEST(NAME<ColMajor>()); \
CALL_SUBTEST(NAME<RowMajor>())
#define CALL_SUBTEST(FUNC)
Definition main.h:399

◆ TEST_LAYOUTS_AND_DIMS

#define TEST_LAYOUTS_AND_DIMS (   TYPE,
  NAME 
)
Value:
CALL_SUBTEST((NAME<TYPE, 1, ColMajor>())); \
CALL_SUBTEST((NAME<TYPE, 1, RowMajor>())); \
CALL_SUBTEST((NAME<TYPE, 2, ColMajor>())); \
CALL_SUBTEST((NAME<TYPE, 2, RowMajor>())); \
CALL_SUBTEST((NAME<TYPE, 3, ColMajor>())); \
CALL_SUBTEST((NAME<TYPE, 3, RowMajor>())); \
CALL_SUBTEST((NAME<TYPE, 4, ColMajor>())); \
CALL_SUBTEST((NAME<TYPE, 4, RowMajor>())); \
CALL_SUBTEST((NAME<TYPE, 5, ColMajor>())); \
CALL_SUBTEST((NAME<TYPE, 5, RowMajor>()))

◆ TEST_LAYOUTS_WITH_ARG

#define TEST_LAYOUTS_WITH_ARG (   NAME,
  ARG 
)
Value:
CALL_SUBTEST(NAME<ColMajor>(ARG)); \
CALL_SUBTEST(NAME<RowMajor>(ARG))

Function Documentation

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( cxx11_tensor_block_access  )