Blaze 3.9
IsIdentity.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_MATH_TYPETRAITS_ISIDENTITY_H_
36#define _BLAZE_MATH_TYPETRAITS_ISIDENTITY_H_
37
38
39//*************************************************************************************************
40// Includes
41//*************************************************************************************************
42
46
47
48namespace blaze {
49
50//=================================================================================================
51//
52// CLASS DEFINITION
53//
54//=================================================================================================
55
56//*************************************************************************************************
77template< typename T >
79 : public BoolConstant< IsUniLower_v<T> && IsUniUpper_v<T> >
80{};
81//*************************************************************************************************
82
83
84//*************************************************************************************************
89template< typename T >
90struct IsIdentity< const T >
91 : public IsIdentity<T>
92{};
94//*************************************************************************************************
95
96
97//*************************************************************************************************
102template< typename T >
103struct IsIdentity< volatile T >
104 : public IsIdentity<T>
105{};
107//*************************************************************************************************
108
109
110//*************************************************************************************************
115template< typename T >
116struct IsIdentity< const volatile T >
117 : public IsIdentity<T>
118{};
120//*************************************************************************************************
121
122
123//*************************************************************************************************
136template< typename T >
138//*************************************************************************************************
139
140} // namespace blaze
141
142#endif
Header file for the IntegralConstant class template.
Header file for the IsUniLower type trait.
Header file for the IsUniUpper type trait.
constexpr bool IsIdentity_v
Auxiliary variable template for the IsIdentity type trait.
Definition: IsIdentity.h:137
Generic wrapper for a compile time constant integral value.
Definition: IntegralConstant.h:74
Compile time check for identity matrices.
Definition: IsIdentity.h:80