lin
matrix.hpp
Go to the documentation of this file.
1 // vim: set tabstop=2:softtabstop=2:shiftwidth=2:expandtab
2 
7 #ifndef LIN_CORE_TRAITS_MATRIX_HPP_
8 #define LIN_CORE_TRAITS_MATRIX_HPP_
9 
10 #include "utilities.hpp"
11 #include "vector.hpp"
12 
13 namespace lin {
14 namespace internal {
15 
26 template <class C>
27 struct is_matrix : negation<is_vector<C>> { };
28 
29 } // namespace internal
30 } // namespace lin
31 
32 #endif
Logical NOT operation for template metaprogramming.
Definition: utilities.hpp:91
Tests if a tensor type is a matrix.
Definition: matrix.hpp:27
Definition: config.hpp:27