35 #ifndef _BLAZE_MATH_SIMD_HYPOT_H_ 36 #define _BLAZE_MATH_SIMD_HYPOT_H_ 69 template<
typename T >
71 #if BLAZE_SVML_MODE && ( BLAZE_AVX512F_MODE || BLAZE_MIC_MODE ) 73 return _mm512_hypot_ps( (~a).
eval().value, (~b).
eval().value );
75 #elif BLAZE_SVML_MODE && BLAZE_AVX_MODE 77 return _mm256_hypot_ps( (~a).
eval().value, (~b).
eval().value );
79 #elif BLAZE_SVML_MODE && BLAZE_SSE_MODE 81 return _mm_hypot_ps( (~a).
eval().value, (~b).
eval().value );
110 template<
typename T >
112 #if BLAZE_SVML_MODE && ( BLAZE_AVX512F_MODE || BLAZE_MIC_MODE ) 114 return _mm512_hypot_pd( (~a).
eval().value, (~b).
eval().value );
116 #elif BLAZE_SVML_MODE && BLAZE_AVX_MODE 118 return _mm256_hypot_pd( (~a).
eval().value, (~b).
eval().value );
120 #elif BLAZE_SVML_MODE && BLAZE_SSE_MODE 122 return _mm_hypot_pd( (~a).
eval().value, (~b).
eval().value );
decltype(auto) hypot(const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
Computes the componentwise hypotenous for the dense matrices lhs and rhs.
Definition: DMatDMatMapExpr.h:1211
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
decltype(auto) eval(const DenseMatrix< MT, SO > &dm)
Forces the evaluation of the given dense matrix expression dm.
Definition: DMatEvalExpr.h:786
Header file for the basic SIMD types.
System settings for the SSE mode.
System settings for the inline keywords.