35 #ifndef _BLAZE_MATH_FUNCTORS_TANH_H_
36 #define _BLAZE_MATH_FUNCTORS_TANH_H_
70 template<
typename T >
82 template<
typename T >
92 template<
typename T >
const DMatForEachExpr< MT, Tanh, SO > tanh(const DenseMatrix< MT, SO > &dm)
Computes the hyperbolic tangent for each single element of the dense matrix dm.
Definition: DMatForEachExpr.h:1849
Header file for the SIMD hyperbolic tangent functionality.
BLAZE_ALWAYS_INLINE auto operator()(const T &a) const
Returns the result of the tanh() function for the given object/value.
Definition: Tanh.h:71
#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:57
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
Availability of a SIMD hyperbolic tangent operation for the given data type.Depending on the availabl...
Definition: HasSIMDTanh.h:109
Constraint on the data type.
Header file for the HasSIMDTanh type trait.
Header file for the tanh shim.
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data type T.
Definition: Tanh.h:83
BLAZE_ALWAYS_INLINE auto load(const T &a) const
Returns the result of the tanh() function for the given SIMD vector.
Definition: Tanh.h:93
Generic wrapper for the tanh() function.
Definition: Tanh.h:62
System settings for the inline keywords.