35 #ifndef _BLAZE_MATH_FUNCTORS_DIV_H_ 36 #define _BLAZE_MATH_FUNCTORS_DIV_H_ 96 template<
typename T1,
typename T2 >
108 template<
typename T1,
typename T2 >
109 static constexpr
bool simdEnabled() {
return HasSIMDDiv_v<T1,T2>; }
127 template<
typename T1,
typename T2 >
149 template<
typename T1,
typename T2 >
150 struct YieldsUniform<Div,T1,T2>
151 :
public BoolConstant< IsUniform_v<T1> && IsUniform_v<T2> >
167 template<
typename MT1,
typename MT2 >
168 struct YieldsSymmetric<Div,MT1,MT2>
169 :
public BoolConstant< IsSymmetric_v<MT1> && IsSymmetric_v<MT2> >
185 template<
typename MT1,
typename MT2 >
186 struct YieldsHermitian<Div,MT1,MT2>
187 :
public BoolConstant< IsHermitian_v<MT1> && IsHermitian_v<MT2> >
203 template<
typename MT1,
typename MT2 >
204 struct YieldsLower<Div,MT1,MT2>
205 :
public BoolConstant< IsLower_v<MT1> && IsLower_v<MT2> >
221 template<
typename MT1,
typename MT2 >
222 struct YieldsUniLower<Div,MT1,MT2>
223 :
public BoolConstant< ( IsUniLower_v<MT1> && IsStrictlyLower_v<MT2> ) ||
224 ( IsUniLower_v<MT2> && IsStrictlyLower_v<MT1> ) >
240 template<
typename MT1,
typename MT2 >
241 struct YieldsStrictlyLower<Div,MT1,MT2>
242 :
public BoolConstant< IsStrictlyLower_v<MT1> && IsStrictlyLower_v<MT2> >
258 template<
typename MT1,
typename MT2 >
259 struct YieldsUpper<Div,MT1,MT2>
260 :
public BoolConstant< IsUpper_v<MT1> && IsUpper_v<MT2> >
276 template<
typename MT1,
typename MT2 >
277 struct YieldsUniUpper<Div,MT1,MT2>
278 :
public BoolConstant< ( IsUniUpper_v<MT1> && IsStrictlyUpper_v<MT2> ) ||
279 ( IsUniUpper_v<MT2> && IsStrictlyUpper_v<MT1> ) >
295 template<
typename MT1,
typename MT2 >
296 struct YieldsStrictlyUpper<Div,MT1,MT2>
297 :
public BoolConstant< IsStrictlyUpper_v<MT1> && IsStrictlyUpper_v<MT2> >
Header file for the IsUniUpper type trait.
Generic wrapper for the division operator.
Definition: Div.h:80
Header file for the YieldsStrictlyLower type trait.
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition: Div.h:117
decltype(auto) BLAZE_ALWAYS_INLINE load(const T1 &a, const T2 &b) const
Returns the result of the division operation for the given SIMD vectors.
Definition: Div.h:128
Header file for the SIMD division functionality.
Header file for the IsUniLower type trait.
#define BLAZE_CONSTRAINT_MUST_BE_SIMD_PACK(T)
Constraint on the data type.In case the given data type T is not a SIMD pack, a compilation error is ...
Definition: SIMDPack.h:60
Header file for the IsStrictlyUpper type trait.
Div()
Default constructor of the Div functor.
Definition: Div.h:85
Header file for the IsSymmetric type trait.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
Header file for the YieldsStrictlyUpper type trait.
Header file for the YieldsUniLower type trait.
Header file for the IsLower type trait.
Constraint on the data type.
Header file for the IsStrictlyLower type trait.
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data types T1 and T2.
Definition: Div.h:109
Header file for the YieldsSymmetric type trait.
Header file for the YieldsUpper type trait.
Header file for the YieldsLower type trait.
IntegralConstant< bool, B > BoolConstant
Generic wrapper for a compile time constant boolean value.The BoolConstant class template represents ...
Definition: IntegralConstant.h:101
Header file for the HasSIMDDiv type trait.
Header file for the IntegralConstant class template.
Header file for the IsUpper type trait.
Header file for the YieldsUniUpper type trait.
Header file for the YieldsHermitian type trait.
Header file for the IsHermitian type trait.
System settings for the inline keywords.