35 #ifndef _BLAZE_MATH_FUNCTORS_ACOSH_H_
36 #define _BLAZE_MATH_FUNCTORS_ACOSH_H_
70 template<
typename T >
82 template<
typename T >
92 template<
typename T >
Availability of a SIMD inverse hyperbolic cosine 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 cosine 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: HasSIMDAcosh.h:109
BLAZE_ALWAYS_INLINE auto load(const T &a) const
Returns the result of the acosh() function for the given SIMD vector.
Definition: Acosh.h:93
Generic wrapper for the acosh() function.
Definition: Acosh.h:62
BLAZE_ALWAYS_INLINE auto operator()(const T &a) const
Returns the result of the acosh() function for the given object/value.
Definition: Acosh.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
const DMatForEachExpr< MT, Acosh, SO > acosh(const DenseMatrix< MT, SO > &dm)
Computes the inverse hyperbolic cosine for each single element of the dense matrix dm...
Definition: DMatForEachExpr.h:1762
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
Constraint on the data type.
Header file for the acosh shim.
Header file for the HasSIMDAcosh type trait.
Header file for the SIMD inverse hyperbolic cosine functionality.
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data type T.
Definition: Acosh.h:83
System settings for the inline keywords.