Blaze 3.9
IsGeneral.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_MATH_TYPETRAITS_ISGENERAL_H_
36#define _BLAZE_MATH_TYPETRAITS_ISGENERAL_H_
37
38
39//*************************************************************************************************
40// Includes
41//*************************************************************************************************
42
47
48
49namespace blaze {
50
51//=================================================================================================
52//
53// CLASS DEFINITION
54//
55//=================================================================================================
56
57//*************************************************************************************************
87template< typename T >
89 : public BoolConstant< !IsSymmetric_v<T> && !IsHermitian_v<T> && !IsTriangular_v<T> >
90{};
91//*************************************************************************************************
92
93
94//*************************************************************************************************
99template< typename T >
100struct IsGeneral< const T >
101 : public IsGeneral<T>
102{};
104//*************************************************************************************************
105
106
107//*************************************************************************************************
112template< typename T >
113struct IsGeneral< volatile T >
114 : public IsGeneral<T>
115{};
117//*************************************************************************************************
118
119
120//*************************************************************************************************
125template< typename T >
126struct IsGeneral< const volatile T >
127 : public IsGeneral<T>
128{};
130//*************************************************************************************************
131
132
133//*************************************************************************************************
146template< typename T >
148//*************************************************************************************************
149
150} // namespace blaze
151
152#endif
Header file for the IntegralConstant class template.
Header file for the IsHermitian type trait.
Header file for the IsSymmetric type trait.
Header file for the IsTriangular type trait.
constexpr bool IsGeneral_v
Auxiliary variable template for the IsGeneral type trait.
Definition: IsGeneral.h:147
Generic wrapper for a compile time constant integral value.
Definition: IntegralConstant.h:74
Compile time check for general matrices.
Definition: IsGeneral.h:90