35 #ifndef _BLAZE_MATH_FUNCTORS_ERF_H_ 36 #define _BLAZE_MATH_FUNCTORS_ERF_H_ 85 template<
typename T >
97 template<
typename T >
98 static constexpr
bool simdEnabled() {
return HasSIMDErf_v<T>; }
115 template<
typename T >
136 template<
typename T >
137 struct YieldsUniform<Erf,T>
138 :
public IsUniform<T>
154 template<
typename MT >
155 struct YieldsSymmetric<Erf,MT>
156 :
public IsSymmetric<MT>
172 template<
typename MT >
173 struct YieldsLower<Erf,MT>
190 template<
typename MT >
191 struct YieldsStrictlyLower<Erf,MT>
192 :
public IsStrictlyLower<MT>
208 template<
typename MT >
209 struct YieldsUpper<Erf,MT>
226 template<
typename MT >
227 struct YieldsStrictlyUpper<Erf,MT>
228 :
public IsStrictlyUpper<MT>
244 template<
typename T >
245 struct YieldsZero<Erf,T>
Header file for the YieldsStrictlyLower type trait.
Header file for the YieldsZero type trait.
decltype(auto) erf(const DenseMatrix< MT, SO > &dm)
Computes the error function for each single element of the dense matrix dm.
Definition: DMatMapExpr.h:2160
#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
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition: Erf.h:106
Header file for the HasSIMDErf type trait.
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
Header file for the SIMD error function (erf) functionality.
Header file for the YieldsStrictlyUpper type trait.
Header file for the erf shim.
Header file for the IsLower type trait.
Generic wrapper for the erf() function.
Definition: Erf.h:77
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.
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data type T.
Definition: Erf.h:98
Header file for the YieldsLower type trait.
Macro for CUDA compatibility.
#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.
decltype(auto) BLAZE_ALWAYS_INLINE load(const T &a) const
Returns the result of the erf() function for the given SIMD vector.
Definition: Erf.h:116
System settings for the inline keywords.