35#ifndef _BLAZE_MATH_FUNCTORS_ERF_H_
36#define _BLAZE_MATH_FUNCTORS_ERF_H_
86 template<
typename T >
89 return erf( std::forward<T>( a ) );
98 template<
typename T >
99 static constexpr bool simdEnabled() {
return HasSIMDErf_v<T>; }
116 template<
typename T >
137template<
typename T >
138struct YieldsUniform<Erf,T>
139 :
public IsUniform<T>
155template<
typename MT >
156struct YieldsSymmetric<Erf,MT>
157 :
public IsSymmetric<MT>
173template<
typename MT >
174struct YieldsLower<Erf,MT>
191template<
typename MT >
192struct YieldsStrictlyLower<Erf,MT>
193 :
public IsStrictlyLower<MT>
209template<
typename MT >
210struct YieldsUpper<Erf,MT>
227template<
typename MT >
228struct YieldsStrictlyUpper<Erf,MT>
229 :
public IsStrictlyUpper<MT>
245template<
typename T >
246struct YieldsZero<Erf,T>
Header file for the HasSIMDErf type trait.
Macro for CUDA compatibility.
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 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
BLAZE_ALWAYS_INLINE const SIMDdouble erf(const SIMDf64< T > &a) noexcept=delete
Computes the error function for a vector of double precision floating point values.
#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
Header file for the erf shim.
Header file for the SIMD error function (erf) functionality.
Generic wrapper for the erf() function.
Definition: Erf.h:79
BLAZE_ALWAYS_INLINE decltype(auto) load(const T &a) const
Returns the result of the erf() function for the given SIMD vector.
Definition: Erf.h:117
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition: Erf.h:107
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data type T.
Definition: Erf.h:99
System settings for the inline keywords.
Header file for the IsZero type trait.