35#ifndef _BLAZE_MATH_FUNCTORS_DIV_H_
36#define _BLAZE_MATH_FUNCTORS_DIV_H_
89 template<
typename T1,
typename T2 >
92 return std::forward<T1>( a ) / std::forward<T2>( b );
101 template<
typename T1,
typename T2 >
102 static constexpr bool simdEnabled() {
return HasSIMDDiv_v<T1,T2>; }
120 template<
typename T1,
typename T2 >
142template<
typename T1,
typename T2 >
143struct YieldsUniform<Div,T1,T2>
144 :
public BoolConstant< IsUniform_v<T1> && IsUniform_v<T2> >
160template<
typename MT1,
typename MT2 >
161struct YieldsSymmetric<Div,MT1,MT2>
162 :
public BoolConstant< IsSymmetric_v<MT1> && IsSymmetric_v<MT2> >
178template<
typename MT1,
typename MT2 >
179struct YieldsHermitian<Div,MT1,MT2>
180 :
public BoolConstant< IsHermitian_v<MT1> && IsHermitian_v<MT2> >
196template<
typename MT1,
typename MT2 >
197struct YieldsLower<Div,MT1,MT2>
214template<
typename MT1,
typename MT2 >
215struct YieldsStrictlyLower<Div,MT1,MT2>
232template<
typename MT1,
typename MT2 >
233struct YieldsUpper<Div,MT1,MT2>
250template<
typename MT1,
typename MT2 >
251struct YieldsStrictlyUpper<Div,MT1,MT2>
268template<
typename T1,
typename T2 >
269struct YieldsZero<Div,T1,T2>
Header file for the HasSIMDDiv type trait.
Macro for CUDA compatibility.
Header file for the IntegralConstant class template.
Header file for the IsHermitian type trait.
Header file for the IsLower type trait.
Header file for the IsStrictlyLower type trait.
Header file for the IsStrictlyUpper type trait.
Header file for the IsSymmetric type trait.
Header file for the IsUpper type trait.
Header file for the YieldsHermitian type trait.
Header file for the YieldsLower type trait.
Header file for the YieldsStrictlyLower type trait.
Header file for the YieldsStrictlyUpper type trait.
Header file for the YieldsSymmetric type trait.
Header file for the YieldsUpper type trait.
Header file for the YieldsZero type trait.
Constraint on the data type.
#define BLAZE_CONSTRAINT_MUST_BE_SIMD_PACK(T)
Constraint on the data type.
Definition: SIMDPack.h:60
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
#define BLAZE_DEVICE_CALLABLE
Conditional macro that sets host and device attributes when compiled with CUDA.
Definition: HostDevice.h:94
IntegralConstant< bool, B > BoolConstant
Generic wrapper for a compile time constant boolean value.
Definition: IntegralConstant.h:110
Header file for the SIMD division functionality.
Generic wrapper for the division operator.
Definition: Div.h:81
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data types T1 and T2.
Definition: Div.h:102
BLAZE_ALWAYS_INLINE decltype(auto) load(const T1 &a, const T2 &b) const
Returns the result of the division operation for the given SIMD vectors.
Definition: Div.h:121
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition: Div.h:110
System settings for the inline keywords.
Header file for the IsZero type trait.