35 #ifndef _BLAZE_MATH_FUNCTORS_ATANH_H_ 36 #define _BLAZE_MATH_FUNCTORS_ATANH_H_ 77 template<
typename T >
89 template<
typename T >
99 template<
typename T >
Header file for the SIMD inverse hyperbolic tangent functionality.
#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
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
Availability of a SIMD inverse hyperbolic tangent operation for the given data type.Depending on the available instruction set (SSE, SSE2, SSE3, SSE4, AVX, AVX2, MIC, ...) and the used compiler, this type trait provides the information whether a SIMD inverse hyperbolic tangent operation exists for the given data type T (ignoring the cv-qualifiers). In case the SIMD operation is available, the value member constant is set to true, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise value is set to false, Type is FalseType, and the class derives from FalseType. The following example assumes that the Intel SVML is available:
Definition: HasSIMDAtanh.h:110
Constraint on the data type.
Header file for the HasSIMDAtanh type trait.
Generic wrapper for the atanh() function.
Definition: Atanh.h:62
Header file for the atanh shim.
decltype(auto) atanh(const DenseMatrix< MT, SO > &dm)
Computes the inverse hyperbolic tangent for each single element of the dense matrix dm...
Definition: DMatMapExpr.h:2155
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data type T.
Definition: Atanh.h:90
Atanh()
Default constructor of the Atanh functor.
Definition: Atanh.h:67
decltype(auto) BLAZE_ALWAYS_INLINE load(const T &a) const
Returns the result of the atanh() function for the given SIMD vector.
Definition: Atanh.h:100
System settings for the inline keywords.