Blaze  3.6
IsSubmatrix.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_ISSUBMATRIX_H_
36 #define _BLAZE_MATH_TYPETRAITS_ISSUBMATRIX_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
45 
46 
47 namespace blaze {
48 
49 //=================================================================================================
50 //
51 // CLASS DEFINITION
52 //
53 //=================================================================================================
54 
55 //*************************************************************************************************
88 template< typename T >
90  : public FalseType
91 {};
92 //*************************************************************************************************
93 
94 
95 //*************************************************************************************************
100 template< typename MT, AlignmentFlag AF, bool SO, bool DF, size_t... CSAs >
101 struct IsSubmatrix< Submatrix<MT,AF,SO,DF,CSAs...> >
102  : public TrueType
103 {};
105 //*************************************************************************************************
106 
107 
108 //*************************************************************************************************
113 template< typename MT, AlignmentFlag AF, bool SO, bool DF, size_t... CSAs >
114 struct IsSubmatrix< const Submatrix<MT,AF,SO,DF,CSAs...> >
115  : public TrueType
116 {};
118 //*************************************************************************************************
119 
120 
121 //*************************************************************************************************
126 template< typename MT, AlignmentFlag AF, bool SO, bool DF, size_t... CSAs >
127 struct IsSubmatrix< volatile Submatrix<MT,AF,SO,DF,CSAs...> >
128  : public TrueType
129 {};
131 //*************************************************************************************************
132 
133 
134 //*************************************************************************************************
139 template< typename MT, AlignmentFlag AF, bool SO, bool DF, size_t... CSAs >
140 struct IsSubmatrix< const volatile Submatrix<MT,AF,SO,DF,CSAs...> >
141  : public TrueType
142 {};
144 //*************************************************************************************************
145 
146 
147 //*************************************************************************************************
160 template< typename T >
162 //*************************************************************************************************
163 
164 } // namespace blaze
165 
166 #endif
AlignmentFlag
Alignment flag for (un-)aligned vectors and matrices.Via these flags it is possible to specify subvec...
Definition: AlignmentFlag.h:62
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:72
BoolConstant< true > TrueType
Type traits base class.The TrueType class is used as base class for type traits and value traits that...
Definition: IntegralConstant.h:132
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
constexpr bool IsSubmatrix_v
Auxiliary variable template for the IsSubmatrix type trait.The IsSubmatrix_v variable template provid...
Definition: IsSubmatrix.h:161
Compile time check for submatrices.This type trait tests whether or not the given template parameter ...
Definition: IsSubmatrix.h:89
Header file for all forward declarations for views.
Header file for the IntegralConstant class template.