35 #ifndef _BLAZE_MATH_FUNCTORS_UNARYPOW_H_ 36 #define _BLAZE_MATH_FUNCTORS_UNARYPOW_H_ 75 template<
typename ET >
100 template<
typename T >
112 template<
typename T >
113 static constexpr
bool simdEnabled() {
return HasSIMDPow_v<T,ET>; }
130 template<
typename T >
163 template<
typename ET,
typename T >
181 template<
typename ET,
typename MT >
182 struct YieldsSymmetric<UnaryPow<ET>,MT>
183 :
public IsSymmetric<MT>
199 template<
typename ET,
typename MT >
200 struct YieldsHermitian<UnaryPow<ET>,MT>
201 :
public IsHermitian<MT>
217 template<
typename ET,
typename MT >
218 struct YieldsUniLower<UnaryPow<ET>,MT>
219 :
public IsUniLower<MT>
235 template<
typename ET,
typename MT >
236 struct YieldsUniUpper<UnaryPow<ET>,MT>
237 :
public IsUniUpper<MT>
SIMDET simdExp_
The SIMD exponent.
Definition: UnaryPow.h:141
Constraint on the data type.
Header file for the IsUniUpper type trait.
ET exp_
The scalar exponent.
Definition: UnaryPow.h:140
decltype(auto) BLAZE_ALWAYS_INLINE load(const T &a) const
Returns the result of the pow() function for the given SIMD vector.
Definition: UnaryPow.h:131
decltype(auto) pow(const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
Computes the componentwise exponential value for the dense matrices lhs and rhs.
Definition: DMatDMatMapExpr.h:1243
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition: UnaryPow.h:121
typename SIMDTrait< T >::Type SIMDTrait_t
Auxiliary alias declaration for the SIMDTrait class template.The SIMDTrait_t alias declaration provid...
Definition: SIMDTrait.h:315
Generic wrapper for the pow() function with fixed exponent.
Definition: Forward.h:129
Header file for the pow shim.
Header file for the SIMD trait.
Header file for the IsUniLower type trait.
#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 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
Header file for the YieldsUniLower type trait.
UnaryPow(ET exp)
Constructor of the UnaryPow functor.
Definition: UnaryPow.h:88
Header file for the SIMD power functionality.
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data type T.
Definition: UnaryPow.h:113
decltype(auto) exp(const DenseMatrix< MT, SO > &dm)
Computes for each single element of the dense matrix dm.
Definition: DMatMapExpr.h:1643
Constraint on the data type.
Header file for the SIMD set functionality.
SIMDTrait_t< ET > SIMDET
The SIMD exponent type.
Definition: UnaryPow.h:80
Header file for the YieldsSymmetric type trait.
#define BLAZE_CONSTRAINT_MUST_BE_NUMERIC_TYPE(T)
Constraint on the data type.In case the given data type T is not a numeric (integral or floating poin...
Definition: Numeric.h:61
BLAZE_ALWAYS_INLINE const EnableIf_t< IsIntegral_v< T > &&HasSize_v< T, 1UL >, If_t< IsSigned_v< T >, SIMDint8, SIMDuint8 > > set(T value) noexcept
Sets all values in the vector to the given 1-byte integral value.
Definition: Set.h:75
Header file for the HasSIMDPow type trait.
Header file for the YieldsUniUpper type trait.
Header file for the YieldsHermitian type trait.
Header file for the IsHermitian type trait.
System settings for the inline keywords.