35#ifndef _BLAZE_MATH_FUNCTORS_SQRT_H_
36#define _BLAZE_MATH_FUNCTORS_SQRT_H_
92 template<
typename T >
95 return sqrt( std::forward<T>( a ) );
104 template<
typename T >
122 template<
typename T >
143template<
typename T >
144struct YieldsUniform<Sqrt,T>
145 :
public IsUniform<T>
161template<
typename MT >
162struct YieldsSymmetric<Sqrt,MT>
163 :
public IsSymmetric<MT>
179template<
typename MT >
180struct YieldsHermitian<Sqrt,MT>
181 :
public IsHermitian<MT>
197template<
typename MT >
198struct YieldsLower<Sqrt,MT>
215template<
typename MT >
216struct YieldsUniLower<Sqrt,MT>
217 :
public IsUniLower<MT>
233template<
typename MT >
234struct YieldsStrictlyLower<Sqrt,MT>
235 :
public IsStrictlyLower<MT>
251template<
typename MT >
252struct YieldsUpper<Sqrt,MT>
269template<
typename MT >
270struct YieldsUniUpper<Sqrt,MT>
271 :
public IsUniUpper<MT>
287template<
typename MT >
288struct YieldsStrictlyUpper<Sqrt,MT>
289 :
public IsStrictlyUpper<MT>
305template<
typename T >
306struct YieldsZero<Sqrt,T>
Header file for the HasSIMDSqrt type trait.
Macro for CUDA compatibility.
Header file for the IsHermitian type trait.
Header file for the IsLower type trait.
Header file for the IsStrictlyLower type trait.
Header file for the IsStrictlyUpper type trait.
Header file for the IsSymmetric type trait.
Header file for the IsUniLower type trait.
Header file for the IsUniUpper type trait.
Header file for the IsUpper type trait.
Header file for the YieldsHermitian type trait.
Header file for the YieldsLower type trait.
Header file for the YieldsStrictlyLower type trait.
Header file for the YieldsStrictlyUpper type trait.
Header file for the YieldsSymmetric type trait.
Header file for the YieldsUniLower type trait.
Header file for the YieldsUniUpper type trait.
Header file for the YieldsUpper type trait.
Header file for the YieldsZero type trait.
Constraint on the data type.
#define BLAZE_CONSTRAINT_MUST_BE_SIMD_PACK(T)
Constraint on the data type.
Definition: SIMDPack.h:60
BLAZE_ALWAYS_INLINE const SIMDdouble sqrt(const SIMDf64< T > &a) noexcept=delete
Computes the square root for a vector of double precision floating point values.
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
#define BLAZE_DEVICE_CALLABLE
Conditional macro that sets host and device attributes when compiled with CUDA.
Definition: HostDevice.h:94
Header file for the sqrt shim.
Header file for the SIMD square root functionality.
Generic wrapper for the sqrt() function.
Definition: Sqrt.h:85
BLAZE_ALWAYS_INLINE decltype(auto) load(const T &a) const
Returns the result of the sqrt() function for the given SIMD vector.
Definition: Sqrt.h:123
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition: Sqrt.h:113
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data type T.
Definition: Sqrt.h:105
System settings for the inline keywords.
Header file for the IsZero type trait.