35#ifndef _BLAZE_MATH_FUNCTORS_EXP2_H_
36#define _BLAZE_MATH_FUNCTORS_EXP2_H_
76 template<
typename T >
79 return exp2( std::forward<T>( a ) );
88 template<
typename T >
106 template<
typename T >
127template<
typename T >
128struct YieldsUniform<Exp2,T>
129 :
public IsUniform<T>
145template<
typename MT >
Header file for the HasSIMDExp2 type trait.
Macro for CUDA compatibility.
Header file for the IsSymmetric type trait.
Header file for the YieldsSymmetric type trait.
Constraint on the data type.
decltype(auto) exp2(const DenseMatrix< MT, SO > &dm)
Computes for each single element of the dense matrix dm.
Definition DMatMapExpr.h:1829
#define BLAZE_CONSTRAINT_MUST_BE_SIMD_PACK(T)
Constraint on the data type.
Definition SIMDPack.h:60
constexpr bool HasSIMDExp2_v
Auxiliary variable template for the HasSIMDExp2 type trait.
Definition HasSIMDExp2.h:119
#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 exp2 shim.
Header file for the SIMD exp2 functionality.
Generic wrapper for the exp2() function.
Definition Exp2.h:69
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition Exp2.h:97
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data type T.
Definition Exp2.h:89
BLAZE_ALWAYS_INLINE decltype(auto) load(const T &a) const
Returns the result of the exp2() function for the given SIMD vector.
Definition Exp2.h:107
Compile time check for symmetric matrices.
Definition IsSymmetric.h:115
Compile time check for operations on matrices.
Definition YieldsSymmetric.h:67
System settings for the inline keywords.