110 lines
2.8 KiB
C++
110 lines
2.8 KiB
C++
//==================================================================================================
|
|
/*
|
|
ROTGEN - Runtime Overlay for Eigen
|
|
Copyright : CODE RECKONS
|
|
SPDX-License-Identifier: BSL-1.0
|
|
*/
|
|
//==================================================================================================
|
|
#include <rotgen/detail/generators.hpp>
|
|
#include <rotgen/impl/map.hpp>
|
|
#include <rotgen/impl/payload.hpp>
|
|
#include <Eigen/Dense>
|
|
|
|
namespace rotgen
|
|
{
|
|
#define USE_CONST
|
|
#define CONST const
|
|
|
|
#define SIZE 64
|
|
#define TYPE double
|
|
#define STORAGE_ORDER Eigen::ColMajor
|
|
|
|
#define CLASSNAME ROTGEN_MATRIX_NAME(map_const_impl,SIZE,_col)
|
|
#define SOURCENAME ROTGEN_MATRIX_NAME(matrix_impl,SIZE,_col)
|
|
#include "map_model.cpp"
|
|
#undef CLASSNAME
|
|
#undef SOURCENAME
|
|
#undef STORAGE_ORDER
|
|
|
|
#define STORAGE_ORDER Eigen::RowMajor
|
|
#define CLASSNAME ROTGEN_MATRIX_NAME(map_const_impl,SIZE,_row)
|
|
#define SOURCENAME ROTGEN_MATRIX_NAME(matrix_impl,SIZE,_row)
|
|
#include "map_model.cpp"
|
|
#undef CLASSNAME
|
|
#undef SOURCENAME
|
|
#undef STORAGE_ORDER
|
|
|
|
#undef SIZE
|
|
#undef TYPE
|
|
|
|
#define SIZE 32
|
|
#define TYPE float
|
|
#define STORAGE_ORDER Eigen::ColMajor
|
|
|
|
#define CLASSNAME ROTGEN_MATRIX_NAME(map_const_impl,SIZE,_col)
|
|
#define SOURCENAME ROTGEN_MATRIX_NAME(matrix_impl,SIZE,_col)
|
|
#include "map_model.cpp"
|
|
#undef CLASSNAME
|
|
#undef SOURCENAME
|
|
#undef STORAGE_ORDER
|
|
|
|
#define STORAGE_ORDER Eigen::RowMajor
|
|
#define CLASSNAME ROTGEN_MATRIX_NAME(map_const_impl,SIZE,_row)
|
|
#define SOURCENAME ROTGEN_MATRIX_NAME(matrix_impl,SIZE,_row)
|
|
#include "map_model.cpp"
|
|
#undef CLASSNAME
|
|
#undef SOURCENAME
|
|
#undef STORAGE_ORDER
|
|
|
|
#undef SIZE
|
|
#undef TYPE
|
|
|
|
#undef USE_CONST
|
|
#undef CONST
|
|
#define CONST
|
|
|
|
#define SIZE 64
|
|
#define TYPE double
|
|
#define STORAGE_ORDER Eigen::ColMajor
|
|
|
|
#define CLASSNAME ROTGEN_MATRIX_NAME(map_impl,SIZE,_col)
|
|
#define SOURCENAME ROTGEN_MATRIX_NAME(matrix_impl,SIZE,_col)
|
|
#include "map_model.cpp"
|
|
#undef CLASSNAME
|
|
#undef SOURCENAME
|
|
#undef STORAGE_ORDER
|
|
|
|
#define STORAGE_ORDER Eigen::RowMajor
|
|
#define CLASSNAME ROTGEN_MATRIX_NAME(map_impl,SIZE,_row)
|
|
#define SOURCENAME ROTGEN_MATRIX_NAME(matrix_impl,SIZE,_row)
|
|
#include "map_model.cpp"
|
|
#undef CLASSNAME
|
|
#undef SOURCENAME
|
|
#undef STORAGE_ORDER
|
|
|
|
#undef SIZE
|
|
#undef TYPE
|
|
|
|
#define SIZE 32
|
|
#define TYPE float
|
|
#define STORAGE_ORDER Eigen::ColMajor
|
|
|
|
#define CLASSNAME ROTGEN_MATRIX_NAME(map_impl,SIZE,_col)
|
|
#define SOURCENAME ROTGEN_MATRIX_NAME(matrix_impl,SIZE,_col)
|
|
#include "map_model.cpp"
|
|
#undef CLASSNAME
|
|
#undef SOURCENAME
|
|
#undef STORAGE_ORDER
|
|
|
|
#define STORAGE_ORDER Eigen::RowMajor
|
|
#define CLASSNAME ROTGEN_MATRIX_NAME(map_impl,SIZE,_row)
|
|
#define SOURCENAME ROTGEN_MATRIX_NAME(matrix_impl,SIZE,_row)
|
|
#include "map_model.cpp"
|
|
#undef CLASSNAME
|
|
#undef SOURCENAME
|
|
#undef STORAGE_ORDER
|
|
|
|
#undef SIZE
|
|
#undef TYPE
|
|
#undef CONST
|
|
}
|