35 #ifndef _BLAZE_MATH_FUNCTORS_ABS_H_ 36 #define _BLAZE_MATH_FUNCTORS_ABS_H_ 97 template<
typename T >
109 template<
typename T >
127 template<
typename T >
148 template<
typename T >
149 struct YieldsUniform<Abs,T>
150 :
public IsUniform<T>
166 template<
typename MT >
167 struct YieldsSymmetric<Abs,MT>
168 :
public BoolConstant< IsSymmetric_v<MT> || IsHermitian_v<MT> >
184 template<
typename MT >
185 struct YieldsLower<Abs,MT>
202 template<
typename MT >
203 struct YieldsUniLower<Abs,MT>
204 :
public IsUniLower<MT>
220 template<
typename MT >
221 struct YieldsStrictlyLower<Abs,MT>
222 :
public IsStrictlyLower<MT>
238 template<
typename MT >
239 struct YieldsUpper<Abs,MT>
256 template<
typename MT >
257 struct YieldsUniUpper<Abs,MT>
258 :
public IsUniUpper<MT>
274 template<
typename MT >
275 struct YieldsStrictlyUpper<Abs,MT>
276 :
public IsStrictlyUpper<MT>
292 template<
typename T >
293 struct YieldsZero<Abs,T>
Header file for the IsUniUpper type trait.
Header file for the YieldsStrictlyLower type trait.
Header file for the YieldsZero type trait.
Header file for the abs shim.
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
Generic wrapper for the abs() function.
Definition: Abs.h:82
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
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition: Abs.h:118
Header file for the YieldsStrictlyUpper type trait.
Header file for the YieldsUniLower type trait.
Abs()
Default constructor of the Abs functor.
Definition: Abs.h:87
Header file for the IsLower type trait.
Header file for the HasSIMDAbs type trait.
Constraint on the data type.
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data type T.
Definition: Abs.h:110
Header file for the IsStrictlyLower type trait.
decltype(auto) abs(const DenseMatrix< MT, SO > &dm)
Applies the abs() function to each single element of the dense matrix dm.
Definition: DMatMapExpr.h:1152
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.
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 SIMD abs functionality.
decltype(auto) BLAZE_ALWAYS_INLINE load(const T &a) const
Returns the result of the abs() function for the given SIMD vector.
Definition: Abs.h:128
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 IsHermitian type trait.
System settings for the inline keywords.