aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/test/cxx11_tensor_custom_index.cpp
Commit message (Collapse)AuthorAge
* Get rid of EIGEN_TEST_FUNC, unit tests must now be declared with ↵Gravatar Gael Guennebaud2018-07-17
| | | | | | | | | EIGEN_DECLARE_TEST(mytest) { /* code */ }. This provide several advantages: - more flexibility in designing unit tests - unit tests can be glued to speed up compilation - unit tests are compiled with same predefined macros, which is a requirement for zapcc
* Updated the custom indexing code: we can now use any container that provides ↵Gravatar Benoit Steiner2015-10-15
| | | | the [] operator to index a tensor. Added unit tests to validate the use of std::map and a few more types as valid custom index containers
* Tightened the definition of isOfNormalIndex to take into account integer ↵Gravatar Benoit Steiner2015-10-14
types in addition to arrays of indices Only compile the custom index code when EIGEN_HAS_SFINAE is defined. For the time beeing, EIGEN_HAS_SFINAE is a synonym for EIGEN_HAS_VARIADIC_TEMPLATES, but this might evolve in the future. Moved some code around.