Generic wrapper for the hypot() function.
More...
#include <Hypot.h>
|
template<typename T1 , typename T2 > |
static constexpr bool | simdEnabled () |
| Returns whether SIMD is enabled for the specified data types T1 and T2. More...
|
|
Generic wrapper for the hypot() function.
◆ load()
template<typename T1 , typename T2 >
Returns the result of the hypot() function for the given SIMD vectors.
- Parameters
-
a | The left-hand side SIMD vector. |
b | The right-hand side SIMD vector. |
- Returns
- The result of the hypot() function for the given SIMD vectors.
◆ operator()()
template<typename T1 , typename T2 >
decltype(auto) BLAZE_ALWAYS_INLINE blaze::Hypot::operator() |
( |
const T1 & |
a, |
|
|
const T2 & |
b |
|
) |
| const |
|
inline |
Returns the result of the hypot() function for the given objects/values.
- Parameters
-
a | The left-hand side object/value. |
b | The right-hand side object/value. |
- Returns
- The result of the hypot() function for the given objects/values.
◆ simdEnabled()
template<typename T1 , typename T2 >
static constexpr bool blaze::Hypot::simdEnabled |
( |
| ) |
|
|
inlinestatic |
Returns whether SIMD is enabled for the specified data types T1 and T2.
- Returns
- true in case SIMD is enabled for the data types T1 and T2, false if not.
The documentation for this struct was generated from the following file: