35 #ifndef _BLAZE_MATH_FUNCTORS_COS_H_ 36 #define _BLAZE_MATH_FUNCTORS_COS_H_ 83 template<
typename T >
95 template<
typename T >
96 static constexpr
bool simdEnabled() {
return HasSIMDCos_v<T>; }
113 template<
typename T >
134 template<
typename T >
135 struct YieldsUniform<Cos,T>
136 :
public IsUniform<T>
152 template<
typename MT >
153 struct YieldsSymmetric<Cos,MT>
154 :
public IsSymmetric<MT>
170 template<
typename MT >
171 struct YieldsHermitian<Cos,MT>
172 :
public IsHermitian<MT>
Header file for the SIMD cosine 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
decltype(auto) BLAZE_ALWAYS_INLINE load(const T &a) const
Returns the result of the cos() function for the given SIMD vector.
Definition: Cos.h:114
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition: Cos.h:104
Header file for the IsSymmetric type trait.
decltype(auto) cos(const DenseMatrix< MT, SO > &dm)
Computes the cosine for each single element of the dense matrix dm.
Definition: DMatMapExpr.h:1945
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 cos shim.
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data type T.
Definition: Cos.h:96
Cos()
Default constructor of the Cos functor.
Definition: Cos.h:73
Constraint on the data type.
Header file for the HasSIMDCos type trait.
Header file for the YieldsSymmetric type trait.
Generic wrapper for the cos() function.
Definition: Cos.h:68
Header file for the YieldsHermitian type trait.
Header file for the IsHermitian type trait.
System settings for the inline keywords.