Blaze 3.9
VecVecKronExpr.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_MATH_CONSTRAINTS_VECVECKRONEXPR_H_
36#define _BLAZE_MATH_CONSTRAINTS_VECVECKRONEXPR_H_
37
38
39//*************************************************************************************************
40// Includes
41//*************************************************************************************************
42
45
46
47namespace blaze {
48
49//=================================================================================================
50//
51// MUST_BE_VECVECKRONEXPR_TYPE CONSTRAINT
52//
53//=================================================================================================
54
55//*************************************************************************************************
62#define BLAZE_CONSTRAINT_MUST_BE_VECVECKRONEXPR_TYPE(T) \
63 static_assert( ::blaze::IsVecVecKronExpr_v<T>, "Non-vector/vector Kronecker product expression type detected" )
64//*************************************************************************************************
65
66
67
68
69//=================================================================================================
70//
71// MUST_NOT_BE_VECVECKRONEXPR_TYPE CONSTRAINT
72//
73//=================================================================================================
74
75//*************************************************************************************************
82#define BLAZE_CONSTRAINT_MUST_NOT_BE_VECVECKRONEXPR_TYPE(T) \
83 static_assert( !::blaze::IsVecVecKronExpr_v<T>, "Vector/vector Kronecker product expression type detected" )
84//*************************************************************************************************
85
86
87
88
89//=================================================================================================
90//
91// MUST_FORM_VALID_VECVECKRONEXPR CONSTRAINT
92//
93//=================================================================================================
94
95//*************************************************************************************************
102#define BLAZE_CONSTRAINT_MUST_FORM_VALID_VECVECKRONEXPR(T1,T2) \
103 static_assert( ::blaze::IsVector_v<T1> && \
104 ::blaze::IsVector_v<T2> \
105 , "Invalid vector/vector Kronecker product expression detected" )
106//*************************************************************************************************
107
108} // namespace blaze
109
110#endif
Header file for the IsVecVecKronExpr type trait class.
Header file for the IsVector type trait.