//================================================================================================== /* ROTGEN - Runtime Overlay for Eigen Copyright : CODE RECKONS SPDX-License-Identifier: BSL-1.0 */ //================================================================================================== #include #include #include #include #include namespace rotgen { #define SIZE 64 #define TYPE double #define STORAGE_ORDER Eigen::ColMajor #define CLASSNAME ROTGEN_MATRIX_NAME(matrix_impl, SIZE, _col) #define TRANSCLASSNAME ROTGEN_MATRIX_NAME(matrix_impl, SIZE, _row) #include "model.cpp" #undef CLASSNAME #undef TRANSCLASSNAME #undef STORAGE_ORDER #define STORAGE_ORDER Eigen::RowMajor #define CLASSNAME ROTGEN_MATRIX_NAME(matrix_impl, SIZE, _row) #define TRANSCLASSNAME ROTGEN_MATRIX_NAME(matrix_impl, SIZE, _col) #include "model.cpp" #undef CLASSNAME #undef TRANSCLASSNAME #undef STORAGE_ORDER #undef SIZE #undef TYPE #define SIZE 32 #define TYPE float #define STORAGE_ORDER Eigen::ColMajor #define CLASSNAME ROTGEN_MATRIX_NAME(matrix_impl, SIZE, _col) #define TRANSCLASSNAME ROTGEN_MATRIX_NAME(matrix_impl, SIZE, _row) #include "model.cpp" #undef CLASSNAME #undef TRANSCLASSNAME #undef STORAGE_ORDER #define STORAGE_ORDER Eigen::RowMajor #define CLASSNAME ROTGEN_MATRIX_NAME(matrix_impl, SIZE, _row) #define TRANSCLASSNAME ROTGEN_MATRIX_NAME(matrix_impl, SIZE, _col) #include "model.cpp" #undef CLASSNAME #undef TRANSCLASSNAME #undef STORAGE_ORDER #undef SIZE #undef TYPE }