35 #ifndef _BLAZE_MATH_FUNCTORS_HYPOT_H_ 36 #define _BLAZE_MATH_FUNCTORS_HYPOT_H_ 78 template<
typename T1,
typename T2 >
90 template<
typename T1,
typename T2 >
101 template<
typename T1,
typename T2 >
106 return hypot( a, b );
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:1235
Availability of a SIMD hypotenous operation for the given data types.Depending on the available instr...
Definition: HasSIMDHypot.h:112
Hypot()
Default constructor of the Hypot functor.
Definition: Hypot.h:67
#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:58
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
Header file for the SIMD hypothenous functionality.
decltype(auto) BLAZE_ALWAYS_INLINE load(const T1 &a, const T2 &b) const
Returns the result of the hypot() function for the given SIMD vectors.
Definition: Hypot.h:102
Constraint on the data type.
Header file for the hypot shim.
Generic wrapper for the hypot() function.
Definition: Hypot.h:62
Header file for the HasSIMDHypot type trait.
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data types T1 and T2.
Definition: Hypot.h:91
System settings for the inline keywords.