35 #ifndef _BLAZE_MATH_CONSTRAINTS_TRANSPOSEFLAG_H_
36 #define _BLAZE_MATH_CONSTRAINTS_TRANSPOSEFLAG_H_
63 #define BLAZE_CONSTRAINT_MUST_BE_VECTOR_WITH_TRANSPOSE_FLAG(T,TF) \
64 static_assert( ::blaze::IsVector<T>::value && \
65 ::blaze::TransposeFlag<T>::value == TF, "Invalid transpose flag detected" )
84 #define BLAZE_CONSTRAINT_VECTORS_MUST_HAVE_SAME_TRANSPOSE_FLAG(T1,T2) \
85 static_assert( ::blaze::IsVector<T1>::value && \
86 ::blaze::IsVector<T2>::value && \
87 ::blaze::TransposeFlag<T1>::value == ::blaze::TransposeFlag<T2>::value, "Invalid transpose flag detected" )
106 #define BLAZE_CONSTRAINT_VECTORS_MUST_HAVE_DIFFERENT_TRANSPOSE_FLAG(T1,T2) \
107 static_assert( ::blaze::IsVector<T1>::value && \
108 ::blaze::IsVector<T2>::value && \
109 ::blaze::TransposeFlag<T1>::value != ::blaze::TransposeFlag<T2>::value, "Invalid transpose flag detected" )
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the TransposeFlag type trait.
Header file for the IsVector type trait.