//================================================================================================== /* ROTGEN - Runtime Overlay for Eigen Copyright : CODE RECKONS SPDX-License-Identifier: BSL-1.0 */ //================================================================================================== #define TTS_MAIN #include "tts.hpp" #include #include namespace rotgen::tests { template struct constant { static constexpr auto value = N; }; using scalar = tts::types; using order = tts::types,constant>; using types = tts::types< tts::types> , tts::types> , tts::types> , tts::types> >; struct matrix_descriptor { std::size_t rows, cols; std::function init_fn; }; template struct matrix_block_test_case { std::size_t rows, cols; std::function init_fn; std::size_t i0, j0, ni, nj; }; template struct static_matrix_block_test_case { std::size_t rows, cols; std::function init_fn; static constexpr std::size_t ni = NI; static constexpr std::size_t nj = NJ; std::size_t i0, j0; }; }