35 #ifndef _BLAZE_MATH_TYPETRAITS_ISDIAGONAL_H_
36 #define _BLAZE_MATH_TYPETRAITS_ISDIAGONAL_H_
91 template<
typename T >
92 struct IsDiagonal :
public If< And< IsLower<T>, IsUpper<T> >, TrueType, FalseType >::Type
110 template<
typename T >
116 typedef typename IsDiagonal<T>::Type Type;
128 template<
typename T >
129 struct IsDiagonal< volatile T > :
public IsDiagonal<T>::Type
133 enum { value = IsDiagonal<T>::value };
134 typedef typename IsDiagonal<T>::Type Type;
146 template<
typename T >
147 struct IsDiagonal< const volatile T > :
public IsDiagonal<T>::Type
151 enum { value = IsDiagonal<T>::value };
152 typedef typename IsDiagonal<T>::Type Type;
Compile time type selection.The If class template selects one of the two given types T2 and T3 depend...
Definition: If.h:112
Header file for the FalseType type/value trait base class.
Header file for the And class template.
Compile time check for lower triangular matrices.This type trait tests whether or not the given templ...
Definition: IsLower.h:90
Compile time check for upper triangular matrices.This type trait tests whether or not the given templ...
Definition: IsUpper.h:90
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the If class template.
Header file for the IsLower type trait.
Compile time check for diagonal matrices.This type trait tests whether or not the given template para...
Definition: IsDiagonal.h:92
boost::false_type FalseType
Type/value traits base class.The FalseType class is used as base class for type traits and value trai...
Definition: FalseType.h:61
Header file for the IsUpper type trait.
boost::true_type TrueType
Type traits base class.The TrueType class is used as base class for type traits and value traits that...
Definition: TrueType.h:61
Header file for the TrueType type/value trait base class.