5#ifndef DUNE_COMMON_MATRIXCONCEPTS_HH
6#define DUNE_COMMON_MATRIXCONCEPTS_HH
19 template<
class,
int,
int>
42 constexpr bool IsMatrix_v = Impl::IsMatrix<T>::value;
47 using IsStaticSizeMatrixHelper =
std::void_t<
decltype(T::rows, T::cols)>;
54 constexpr bool IsStaticSizeMatrix_v = Impl::IsStaticSizeMatrix<T>::value;
61 template<
class K,
int ROWS,
int COLS>
66 constexpr bool IsFieldMatrix_v = Impl::IsFieldMatrix<T>::value;
73 template<
class K,
int ROWS,
int COLS>
81 constexpr bool IsDenseMatrix_v = Impl::IsDenseMatrix<T>::value;
typename detected_or< nonesuch, Op, Args... >::value_t is_detected
Detects whether Op<Args...> is valid.
Definition type_traits.hh:145
Dune namespace.
Definition alignedallocator.hh:13