35 #ifndef _BLAZE_MATH_FUNCTORS_ABS_H_ 36 #define _BLAZE_MATH_FUNCTORS_ABS_H_ 77 template<
typename T >
89 template<
typename T >
99 template<
typename T >
Header file for the abs shim.
#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:62
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
Abs()
Default constructor of the Abs functor.
Definition: Abs.h:67
Availability of a SIMD absolute value operation for the given data type.Depending on the available in...
Definition: HasSIMDAbs.h:120
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:90
decltype(auto) abs(const DenseMatrix< MT, SO > &dm)
Applies the abs() function to each single element of the dense matrix dm.
Definition: DMatMapExpr.h:1176
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:100
System settings for the inline keywords.