35 #ifndef _BLAZE_MATH_FUNCTORS_POW_H_
36 #define _BLAZE_MATH_FUNCTORS_POW_H_
66 template<
typename ET >
91 template<
typename T >
103 template<
typename T >
113 template<
typename T >
Constraint on the data type.
BLAZE_ALWAYS_INLINE auto load(const T &a) const
Returns the result of the pow() function for the given SIMD vector.
Definition: Pow.h:114
Header file for the IsSame and IsStrictlySame type traits.
typename SIMDTrait< T >::Type SIMDTrait_
Auxiliary alias declaration for the SIMDTrait class template.The SIMDTrait_ alias declaration provide...
Definition: SIMDTrait.h:315
Header file for the pow shim.
Type relationship analysis.This class tests if the two data types A and B are equal. For this type comparison, the cv-qualifiers of both data types are ignored. If A and B are the same data type (ignoring the cv-qualifiers), then 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.
Definition: IsSame.h:138
SIMDET simdExp_
The SIMD exponent.
Definition: Pow.h:124
Header file for the SIMD trait.
const DMatForEachExpr< MT, Exp, SO > exp(const DenseMatrix< MT, SO > &dm)
Computes for each single element of the dense matrix dm.
Definition: DMatForEachExpr.h:1467
#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
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
Availability of a SIMD power operation for the given data type.Depending on the available instruction...
Definition: HasSIMDPow.h:109
Header file for the SIMD power functionality.
const DMatForEachExpr< MT, Pow< ET >, SO > pow(const DenseMatrix< MT, SO > &dm, ET exp)
Computes the exponential value for each single element of the dense matrix dm.
Definition: DMatForEachExpr.h:1437
Constraint on the data type.
ET exp_
The scalar exponent.
Definition: Pow.h:123
Pow(ET exp)
Constructor of the Pow functor.
Definition: Pow.h:79
BLAZE_ALWAYS_INLINE const EnableIf_< And< IsIntegral< T >, HasSize< T, 1UL > >, If_< IsSigned< T >, SIMDint8, SIMDuint8 > > set(T value) noexcept
Sets all values in the vector to the given 1-byte integral value.
Definition: Set.h:76
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data type T.
Definition: Pow.h:104
#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
Header file for the HasSIMDPow type trait.
SIMDTrait_< ET > SIMDET
The SIMD exponent type.
Definition: Pow.h:71
BLAZE_ALWAYS_INLINE auto operator()(const T &a) const
Returns the result of the pow() function for the given object/value.
Definition: Pow.h:92
System settings for the inline keywords.