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