90 lines
3 KiB
C++
90 lines
3 KiB
C++
//==================================================================================================
|
|
/*
|
|
ROTGEN - Runtime Overlay for Eigen
|
|
Copyright : CODE RECKONS
|
|
SPDX-License-Identifier: BSL-1.0
|
|
*/
|
|
//==================================================================================================
|
|
#define SIZE 64
|
|
#define TYPE double
|
|
#define STORAGE_ORDER Eigen::ColMajor
|
|
|
|
#define CLASSNAME ROTGEN_MATRIX_NAME(BASENAME, SIZE, _col)
|
|
#define CLASSCONSTNAME ROTGEN_MATRIX_NAME(block_const_impl, SIZE, _col)
|
|
#define TRANSCLASSNAME ROTGEN_MATRIX_NAME(BASENAME, SIZE, _row)
|
|
#define SOURCENAME ROTGEN_MATRIX_NAME(matrix_impl, SIZE, _col)
|
|
#define TRANSNAME ROTGEN_MATRIX_NAME(matrix_impl, SIZE, _row)
|
|
#define MAPNAME ROTGEN_MATRIX_NAME(BASEMAP, SIZE, _col)
|
|
#define TRANSMAPNAME ROTGEN_MATRIX_NAME(BASEMAP, SIZE, _row)
|
|
#include "model.cpp"
|
|
#undef CLASSNAME
|
|
#undef CLASSCONSTNAME
|
|
#undef TRANSNAME
|
|
#undef TRANSCLASSNAME
|
|
#undef SOURCENAME
|
|
#undef MAPNAME
|
|
#undef TRANSMAPNAME
|
|
#undef STORAGE_ORDER
|
|
|
|
#define STORAGE_ORDER Eigen::RowMajor
|
|
#define CLASSNAME ROTGEN_MATRIX_NAME(BASENAME, SIZE, _row)
|
|
#define CLASSCONSTNAME ROTGEN_MATRIX_NAME(block_const_impl, SIZE, _row)
|
|
#define TRANSCLASSNAME ROTGEN_MATRIX_NAME(BASENAME, SIZE, _col)
|
|
#define SOURCENAME ROTGEN_MATRIX_NAME(matrix_impl, SIZE, _row)
|
|
#define TRANSNAME ROTGEN_MATRIX_NAME(matrix_impl, SIZE, _col)
|
|
#define MAPNAME ROTGEN_MATRIX_NAME(BASEMAP, SIZE, _row)
|
|
#define TRANSMAPNAME ROTGEN_MATRIX_NAME(BASEMAP, SIZE, _col)
|
|
#include "model.cpp"
|
|
#undef CLASSNAME
|
|
#undef CLASSCONSTNAME
|
|
#undef TRANSNAME
|
|
#undef TRANSCLASSNAME
|
|
#undef SOURCENAME
|
|
#undef MAPNAME
|
|
#undef TRANSMAPNAME
|
|
#undef STORAGE_ORDER
|
|
|
|
#undef SIZE
|
|
#undef TYPE
|
|
|
|
#define SIZE 32
|
|
#define TYPE float
|
|
#define STORAGE_ORDER Eigen::ColMajor
|
|
|
|
#define CLASSNAME ROTGEN_MATRIX_NAME(BASENAME, SIZE, _col)
|
|
#define CLASSCONSTNAME ROTGEN_MATRIX_NAME(block_const_impl, SIZE, _col)
|
|
#define TRANSCLASSNAME ROTGEN_MATRIX_NAME(BASENAME, SIZE, _row)
|
|
#define SOURCENAME ROTGEN_MATRIX_NAME(matrix_impl, SIZE, _col)
|
|
#define TRANSNAME ROTGEN_MATRIX_NAME(matrix_impl, SIZE, _row)
|
|
#define MAPNAME ROTGEN_MATRIX_NAME(BASEMAP, SIZE, _col)
|
|
#define TRANSMAPNAME ROTGEN_MATRIX_NAME(BASEMAP, SIZE, _row)
|
|
#include "model.cpp"
|
|
#undef CLASSNAME
|
|
#undef CLASSCONSTNAME
|
|
#undef TRANSNAME
|
|
#undef TRANSCLASSNAME
|
|
#undef SOURCENAME
|
|
#undef MAPNAME
|
|
#undef TRANSMAPNAME
|
|
#undef STORAGE_ORDER
|
|
|
|
#define STORAGE_ORDER Eigen::RowMajor
|
|
#define CLASSNAME ROTGEN_MATRIX_NAME(BASENAME, SIZE, _row)
|
|
#define CLASSCONSTNAME ROTGEN_MATRIX_NAME(block_const_impl, SIZE, _row)
|
|
#define TRANSCLASSNAME ROTGEN_MATRIX_NAME(BASENAME, SIZE, _col)
|
|
#define SOURCENAME ROTGEN_MATRIX_NAME(matrix_impl, SIZE, _row)
|
|
#define TRANSNAME ROTGEN_MATRIX_NAME(matrix_impl, SIZE, _col)
|
|
#define MAPNAME ROTGEN_MATRIX_NAME(BASEMAP, SIZE, _row)
|
|
#define TRANSMAPNAME ROTGEN_MATRIX_NAME(BASEMAP, SIZE, _col)
|
|
#include "model.cpp"
|
|
#undef CLASSNAME
|
|
#undef CLASSCONSTNAME
|
|
#undef TRANSNAME
|
|
#undef TRANSCLASSNAME
|
|
#undef SOURCENAME
|
|
#undef MAPNAME
|
|
#undef TRANSMAPNAME
|
|
#undef STORAGE_ORDER
|
|
|
|
#undef SIZE
|
|
#undef TYPE
|