Generic wrapper for the pow2() function.
More...
#include <Pow2.h>
|
| Pow2 () |
| Default constructor of the Pow2 functor.
|
|
template<typename T > |
BLAZE_ALWAYS_INLINEdecltype(auto) constexpr | operator() (const T &a) const |
| Returns the result of the pow2() function for the given object/value. More...
|
|
template<typename T > |
decltype(auto) BLAZE_ALWAYS_INLINE | load (const T &a) const |
| Returns the result of the pow2() function for the given SIMD vector. More...
|
|
|
template<typename T > |
static constexpr bool | simdEnabled () |
| Returns whether SIMD is enabled for the specified data type T. More...
|
|
Generic wrapper for the pow2() function.
◆ load()
Returns the result of the pow2() function for the given SIMD vector.
- Parameters
-
- Returns
- The result of the pow2() function for the given SIMD vector.
◆ operator()()
template<typename T >
BLAZE_ALWAYS_INLINEdecltype(auto) constexpr blaze::Pow2::operator() |
( |
const T & |
a | ) |
const |
|
inline |
Returns the result of the pow2() function for the given object/value.
- Parameters
-
- Returns
- The result of the pow2() function for the given object/value.
◆ simdEnabled()
template<typename T >
static constexpr bool blaze::Pow2::simdEnabled |
( |
| ) |
|
|
inlinestatic |
Returns whether SIMD is enabled for the specified data type T.
- Returns
- true in case SIMD is enabled for the data type T, false if not.
The documentation for this struct was generated from the following file: