35 #ifndef _BLAZE_MATH_CONSTRAINTS_ROWS_H_ 36 #define _BLAZE_MATH_CONSTRAINTS_ROWS_H_ 67 #define BLAZE_CONSTRAINT_MUST_HAVE_EQUAL_NUMBER_OF_ROWS(T1,T2) \ 68 static_assert( ::blaze::Or< ::blaze::Equal< ::blaze::Rows<T1>, ::blaze::PtrdiffT<-1L> > \ 69 , ::blaze::Equal< ::blaze::Rows<T2>, ::blaze::PtrdiffT<-1L> > \ 70 , ::blaze::Equal< ::blaze::Rows<T1>, ::blaze::Rows<T2> > \ 71 >::value, "Invalid number of rows detected" ) 92 #define BLAZE_CONSTRAINT_MUST_NOT_HAVE_EQUAL_NUMBER_OF_ROWS(T1,T2) \ 93 static_assert( ::blaze::Or< ::blaze::Equal< ::blaze::Rows<T1>, ::blaze::PtrdiffT<-1L> > \ 94 , ::blaze::Equal< ::blaze::Rows<T2>, ::blaze::PtrdiffT<-1L> > \ 95 , ::blaze::Not< ::blaze::Equal< ::blaze::Rows<T1>, ::blaze::Rows<T2> > > \ 96 >::value, "Invalid number of rows detected" ) Header file for the Rows type trait.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the Or class template.
Header file for the Not class template.
Header file for the PtrdiffT class template.
Header file for the Equal class template.