51 lines
1.3 KiB
C++
51 lines
1.3 KiB
C++
//==================================================================================================
|
|
/*
|
|
ROTGEN - Runtime Overlay for Eigen
|
|
Copyright : CODE RECKONS
|
|
SPDX-License-Identifier: BSL-1.0
|
|
*/
|
|
//==================================================================================================
|
|
#include <rotgen/detail/generators.hpp>
|
|
#include <rotgen/impl/matrix.hpp>
|
|
#include <rotgen/impl/payload.hpp>
|
|
#include <rotgen/config.hpp>
|
|
#include <Eigen/Dense>
|
|
|
|
namespace rotgen
|
|
{
|
|
#define SIZE 64
|
|
#define TYPE double
|
|
#define STORAGE_ORDER Eigen::ColMajor
|
|
|
|
#define CLASSNAME ROTGEN_MATRIX_NAME(matrix_impl,SIZE,_col)
|
|
#include "matrix_model.cpp"
|
|
#undef CLASSNAME
|
|
#undef STORAGE_ORDER
|
|
|
|
#define STORAGE_ORDER Eigen::RowMajor
|
|
#define CLASSNAME ROTGEN_MATRIX_NAME(matrix_impl,SIZE,_row)
|
|
#include "matrix_model.cpp"
|
|
#undef CLASSNAME
|
|
#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)
|
|
#include "matrix_model.cpp"
|
|
#undef CLASSNAME
|
|
#undef STORAGE_ORDER
|
|
|
|
#define STORAGE_ORDER Eigen::RowMajor
|
|
#define CLASSNAME ROTGEN_MATRIX_NAME(matrix_impl,SIZE,_row)
|
|
#include "matrix_model.cpp"
|
|
#undef CLASSNAME
|
|
#undef STORAGE_ORDER
|
|
|
|
#undef SIZE
|
|
#undef TYPE
|
|
}
|