35 #ifndef _BLAZE_MATH_FUNCTORS_SUB_H_ 36 #define _BLAZE_MATH_FUNCTORS_SUB_H_ 92 template<
typename T1,
typename T2 >
104 template<
typename T1,
typename T2 >
105 static constexpr
bool simdEnabled() {
return HasSIMDSub_v<T1,T2>; }
123 template<
typename T1,
typename T2 >
145 template<
typename T1,
typename T2 >
146 struct YieldsUniform<Sub,T1,T2>
147 :
public BoolConstant< IsUniform_v<T1> && IsUniform_v<T2> >
163 template<
typename MT1,
typename MT2 >
164 struct YieldsSymmetric<Sub,MT1,MT2>
165 :
public BoolConstant< IsSymmetric_v<MT1> && IsSymmetric_v<MT2> >
181 template<
typename MT1,
typename MT2 >
182 struct YieldsHermitian<Sub,MT1,MT2>
183 :
public BoolConstant< IsHermitian_v<MT1> && IsHermitian_v<MT2> >
199 template<
typename MT1,
typename MT2 >
200 struct YieldsLower<Sub,MT1,MT2>
201 :
public BoolConstant< IsLower_v<MT1> && IsLower_v<MT2> >
217 template<
typename MT1,
typename MT2 >
218 struct YieldsUniLower<Sub,MT1,MT2>
219 :
public BoolConstant< IsUniLower_v<MT1> && IsStrictlyLower_v<MT2> >
235 template<
typename MT1,
typename MT2 >
236 struct YieldsStrictlyLower<Sub,MT1,MT2>
237 :
public BoolConstant< IsStrictlyLower_v<MT1> && IsStrictlyLower_v<MT2> >
253 template<
typename MT1,
typename MT2 >
254 struct YieldsUpper<Sub,MT1,MT2>
255 :
public BoolConstant< IsUpper_v<MT1> && IsUpper_v<MT2> >
271 template<
typename MT1,
typename MT2 >
272 struct YieldsUniUpper<Sub,MT1,MT2>
273 :
public BoolConstant< IsUniUpper_v<MT1> && IsStrictlyUpper_v<MT2> >
289 template<
typename MT1,
typename MT2 >
290 struct YieldsStrictlyUpper<Sub,MT1,MT2>
291 :
public BoolConstant< IsStrictlyUpper_v<MT1> && IsStrictlyUpper_v<MT2> >
307 template<
typename T1,
typename T2 >
308 struct YieldsZero<Sub,T1,T2>
Header file for the IsUniUpper type trait.
Header file for the YieldsStrictlyLower type trait.
Header file for the YieldsZero type trait.
Generic wrapper for the subtraction operator.
Definition: Sub.h:83
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 SIMD subtraction functionality.
Header file for the IsStrictlyUpper type trait.
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
decltype(auto) BLAZE_ALWAYS_INLINE load(const T1 &a, const T2 &b) const
Returns the result of the subtraction operation for the given SIMD vectors.
Definition: Sub.h:124
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.
Header file for the YieldsSymmetric type trait.
Header file for the YieldsUpper type trait.
Header file for the IsZero type trait.
Header file for the YieldsLower type trait.
Header file for the HasSIMDSub type trait.
IntegralConstant< bool, B > BoolConstant
Generic wrapper for a compile time constant boolean value.The BoolConstant alias template represents ...
Definition: IntegralConstant.h:110
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition: Sub.h:113
Macro for CUDA compatibility.
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data types T1 and T2.
Definition: Sub.h:105
Header file for the IntegralConstant class template.
#define BLAZE_DEVICE_CALLABLE
Conditional macro that sets host and device attributes when compiled with CUDA.
Definition: HostDevice.h:94
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.