TransposeFlag.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_TRANSPOSEFLAG_H_
36 #define _BLAZE_MATH_TYPETRAITS_TRANSPOSEFLAG_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
46 #include <blaze/util/EnableIf.h>
48 
49 
50 namespace blaze {
51 
52 //=================================================================================================
53 //
54 // CLASS DEFINITION
55 //
56 //=================================================================================================
57 
58 //*************************************************************************************************
76 template< typename T, typename = EnableIf_< IsVector<T> > >
77 struct TransposeFlag : public BoolConstant< ( IsRowVector<T>::value ? rowVector : columnVector ) >
78 {};
79 //*************************************************************************************************
80 
81 } // namespace blaze
82 
83 #endif
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:71
Header file for the IsRowVector type trait.
Header file for the vector transpose flag types.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the IsVector type trait.
Header file for the EnableIf class template.
Evaluation of the transpose flag of a given matrix type.Via this type trait it is possible to evaluat...
Definition: TransposeFlag.h:77
Header file for the IntegralConstant class template.