35 #ifndef _BLAZE_MATH_CONSTRAINTS_MATMATMULTEXPR_H_ 36 #define _BLAZE_MATH_CONSTRAINTS_MATMATMULTEXPR_H_ 68 #define BLAZE_CONSTRAINT_MUST_BE_MATMATMULTEXPR_TYPE(T) \ 69 static_assert( ::blaze::IsMatMatMultExpr<T>::value, "Non-matrix/matrix multiplication expression type detected" ) 88 #define BLAZE_CONSTRAINT_MUST_NOT_BE_MATMATMULTEXPR_TYPE(T) \ 89 static_assert( !::blaze::IsMatMatMultExpr<T>::value, "Matrix/matrix multiplication expression type detected" ) 108 #define BLAZE_CONSTRAINT_MUST_FORM_VALID_MATMATMULTEXPR(T1,T2) \ 109 static_assert( ::blaze::And< ::blaze::IsMatrix<T1> \ 110 , ::blaze::IsMatrix<T2> \ 111 , ::blaze::Or< ::blaze::Equal< ::blaze::Columns<T1>, ::blaze::PtrdiffT<-1L> > \ 112 , ::blaze::Equal< ::blaze::Rows<T2>, ::blaze::PtrdiffT<-1L> > \ 113 , ::blaze::Equal< ::blaze::Columns<T1>, ::blaze::Rows<T2> > > \ 114 >::value, "Invalid matrix/matrix multiplication expression detected" ) Header file for the Rows type trait.
Header file for the And class template.
Header file for the IsMatrix type trait.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the Or class template.
Header file for the IsMatMatMultExpr type trait class.
Header file for the Columns type trait.
Header file for the PtrdiffT class template.
Header file for the Equal class template.