35 #ifndef _BLAZE_MATH_FUNCTORS_LOG_H_ 36 #define _BLAZE_MATH_FUNCTORS_LOG_H_ 77 template<
typename T >
89 template<
typename T >
90 static constexpr
bool simdEnabled() {
return HasSIMDLog_v<T>; }
107 template<
typename T >
128 template<
typename T >
129 struct YieldsUniform<Log,T>
130 :
public IsUniform<T>
146 template<
typename MT >
147 struct YieldsSymmetric<Log,MT>
148 :
public IsSymmetric<MT>
164 template<
typename MT >
165 struct YieldsHermitian<Log,MT>
166 :
public IsHermitian<MT>
decltype(auto) BLAZE_ALWAYS_INLINE load(const T &a) const
Returns the result of the log() function for the given SIMD vector.
Definition: Log.h:108
#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
Header file for the HasSIMDLog type trait.
Header file for the IsSymmetric type trait.
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
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data type T.
Definition: Log.h:90
Constraint on the data type.
decltype(auto) log(const DenseMatrix< MT, SO > &dm)
Computes the natural logarithm for each single element of the dense matrix dm.
Definition: DMatMapExpr.h:1719
Header file for the log shim.
Header file for the YieldsSymmetric type trait.
Header file for the SIMD natural logarithm functionality.
Generic wrapper for the log() function.
Definition: Log.h:69
Macro for CUDA compatibility.
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition: Log.h:98
#define BLAZE_DEVICE_CALLABLE
Conditional macro that sets host and device attributes when compiled with CUDA.
Definition: HostDevice.h:94
Header file for the YieldsHermitian type trait.
Header file for the IsHermitian type trait.
System settings for the inline keywords.