35 #ifndef _BLAZE_MATH_FUNCTORS_SQRT_H_ 36 #define _BLAZE_MATH_FUNCTORS_SQRT_H_ 91 template<
typename T >
103 template<
typename T >
121 template<
typename T >
142 template<
typename T >
143 struct YieldsUniform<Sqrt,T>
144 :
public IsUniform<T>
160 template<
typename MT >
161 struct YieldsSymmetric<Sqrt,MT>
162 :
public IsSymmetric<MT>
178 template<
typename MT >
179 struct YieldsHermitian<Sqrt,MT>
180 :
public IsHermitian<MT>
196 template<
typename MT >
197 struct YieldsLower<Sqrt,MT>
214 template<
typename MT >
215 struct YieldsUniLower<Sqrt,MT>
216 :
public IsUniLower<MT>
232 template<
typename MT >
233 struct YieldsStrictlyLower<Sqrt,MT>
234 :
public IsStrictlyLower<MT>
250 template<
typename MT >
251 struct YieldsUpper<Sqrt,MT>
268 template<
typename MT >
269 struct YieldsUniUpper<Sqrt,MT>
270 :
public IsUniUpper<MT>
286 template<
typename MT >
287 struct YieldsStrictlyUpper<Sqrt,MT>
288 :
public IsStrictlyUpper<MT>
304 template<
typename T >
305 struct YieldsZero<Sqrt,T>
Header file for the IsUniUpper type trait.
Header file for the YieldsStrictlyLower type trait.
Header file for the YieldsZero type trait.
Header file for the SIMD square root functionality.
Header file for the IsUniLower type trait.
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition: Sqrt.h:112
#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 sqrt shim.
Generic wrapper for the sqrt() function.
Definition: Sqrt.h:83
Header file for the IsStrictlyUpper 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
Header file for the YieldsStrictlyUpper type trait.
Header file for the YieldsUniLower type trait.
Header file for the IsLower type trait.
Constraint on the data type.
Header file for the IsStrictlyLower type trait.
Header file for the YieldsSymmetric type trait.
Header file for the YieldsUpper type trait.
Header file for the IsZero type trait.
Header file for the HasSIMDSqrt type trait.
Header file for the YieldsLower type trait.
Macro for CUDA compatibility.
decltype(auto) sqrt(const DenseMatrix< MT, SO > &dm)
Computes the square root of each single element of the dense matrix dm.
Definition: DMatMapExpr.h:1448
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data type T.
Definition: Sqrt.h:104
#define BLAZE_DEVICE_CALLABLE
Conditional macro that sets host and device attributes when compiled with CUDA.
Definition: HostDevice.h:94
Header file for the IsUpper type trait.
Header file for the YieldsUniUpper type trait.
Header file for the YieldsHermitian type trait.
Header file for the IsHermitian type trait.
decltype(auto) BLAZE_ALWAYS_INLINE load(const T &a) const
Returns the result of the sqrt() function for the given SIMD vector.
Definition: Sqrt.h:122
System settings for the inline keywords.