![]() |
Blaze 3.9
|
Generic wrapper for an operation with fixed 3rd argument. More...
#include <Bind3rd.h>
Public Member Functions | |
constexpr | Bind3rd (const OP &op, const A3 &a3) |
Constructor of the Bind3rd functor. More... | |
template<typename A1 , typename A2 , typename... Args> | |
BLAZE_ALWAYS_INLINE constexpr decltype(auto) | operator() (A1 &&a1, A2 &&a2, Args &&... args) const |
Returns the result of the wrapped operation for the given arguments. More... | |
template<typename A1 , typename A2 , typename... Args> | |
BLAZE_ALWAYS_INLINE decltype(auto) | load (A1 &&a1, A2 &&a2, Args &&... args) const |
Returns the result of the wrapped operation for the given SIMD vectors. More... | |
Static Public Member Functions | |
template<typename A1 , typename A2 , typename... Args> | |
static constexpr bool | simdEnabled () |
Returns whether SIMD is enabled for the specified data types Ts. More... | |
static constexpr bool | paddingEnabled () |
Returns whether the operation supports padding, i.e. whether it can deal with zeros. More... | |
Private Attributes | |
OP | op_ |
The wrapped operation. | |
A3 | a3_ |
The 3rd argument. | |
Generic wrapper for an operation with fixed 3rd argument.
|
inlineconstexpr |
Constructor of the Bind3rd functor.
op | The wrapped operation. |
a3 | The 3rd argument. |
|
inline |
Returns the result of the wrapped operation for the given SIMD vectors.
a1 | The 1st given SIMD vector. |
a2 | The 2nd given SIMD vector. |
args | The remaining SIMD vectors. |
|
inlineconstexpr |
Returns the result of the wrapped operation for the given arguments.
a1 | The 1st argument. |
a2 | The 2nd argument. |
args | The remaining arguments. |
|
inlinestaticconstexpr |
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
|
inlinestaticconstexpr |
Returns whether SIMD is enabled for the specified data types Ts.