9#ifndef __1cc1076600024d7ea537871be7fc1fc0
10#define __1cc1076600024d7ea537871be7fc1fc0
23struct IsEigenMatrixTester {
24 template <
class SCALAR,
int ROWS,
int COLS,
int OPTIONS,
int MAX_ROWS,
27 const Eigen::Matrix<SCALAR, ROWS, COLS, OPTIONS, MAX_ROWS, MAX_COLS>&,
31 static float Test(
const T&,
long);
34struct IsEigenArrayTester {
35 template <
class SCALAR,
int ROWS,
int COLS,
int OPTIONS,
int MAX_ROWS,
38 const Eigen::Array<SCALAR, ROWS, COLS, OPTIONS, MAX_ROWS, MAX_COLS>&,
42 static float Test(
const T&,
long);
52 decltype(internal::IsEigenMatrixTester::Test(std::declval<T>(), 0)),
bool>;
59 decltype(internal::IsEigenArrayTester::Test(std::declval<T>(), 0)),
bool>;
Contains basic functionality that is used by other parts of LehrFEM++.
constexpr bool is_eigen_matrix
Check if a given type T is an Eigen::Matrix.
constexpr bool is_eigen_array
Check if a given type T is an Eigen::Array.