21 #ifndef RFFGEN_LINEAR_ALGEBRA_DIMENSION_HH 
   22 #define RFFGEN_LINEAR_ALGEBRA_DIMENSION_HH 
   24 #include <type_traits> 
   25 #include "extractRowsAndCols.hh" 
   32   namespace Concepts { 
template <
class> 
struct SymmetricMatrixConceptCheck; }
 
   37   namespace LinearAlgebra
 
   42     template <
class Matrix, 
class = Concepts::SymmetricMatrixConceptCheck<Matrix> >
 
   44     struct ExtractDimension : NumberOfRows<Matrix> {};
 
   49     template <
class Matrix>
 
   51     constexpr 
int dimension()
 
   53       return ExtractDimension<Matrix>::value;
 
   58 #endif // RFFGEN_LINEAR_ALGEBRA_DIMENSION_HH