|
Blaze 3.9
|
Generic wrapper for an operation with fixed 1st argument. More...
#include <Bind1st.h>
Public Member Functions | |
| constexpr | Bind1st (const OP &op, const A1 &a1) |
| Constructor of the Bind1st functor. | |
| template<typename... Args> | |
| BLAZE_ALWAYS_INLINE constexpr decltype(auto) | operator() (Args &&... args) const |
| Returns the result of the wrapped operation for the given arguments. | |
| template<typename... Args> | |
| BLAZE_ALWAYS_INLINE decltype(auto) | load (Args &&... args) const |
| Returns the result of the wrapped operation for the given SIMD vectors. | |
Static Public Member Functions | |
| template<typename... Args> | |
| static constexpr bool | simdEnabled () |
| Returns whether SIMD is enabled for the specified data types Args. | |
| 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. | |
| A1 | a1_ |
| The 1st argument. | |
Generic wrapper for an operation with fixed 1st argument.
|
inlineconstexpr |
Constructor of the Bind1st functor.
| op | The wrapped operation. |
| a1 | The 1st argument. |
|
inline |
Returns the result of the wrapped operation for the given SIMD vectors.
| args | The remaining SIMD vectors. |
|
inlineconstexpr |
Returns the result of the wrapped operation for the given arguments.
| 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 Args.