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