35#ifndef _BLAZE_MATH_FUNCTORS_JOIN_H_
36#define _BLAZE_MATH_FUNCTORS_JOIN_H_
71template<
typename OP >
80 explicit constexpr Join(
const OP& op )
91 template<
typename... Args >
94 return op_( args... );
105 template<
typename T1,
typename T2,
typename... Args >
106 BLAZE_ALWAYS_INLINE constexpr decltype(
auto)
operator()(
const std::pair<T1,T2>& p,
const Args&... args )
const
108 return (*
this)( p.first, p.second, args... );
117 template<
typename... Args >
135 template<
typename... Args >
138 return op_.load( args... );
149 template<
typename T1,
typename T2,
typename... Args >
152 return (*this).load( p.first, p.second, args... );
182template<
typename OP >
200template<
typename OP,
typename T,
typename... Args >
201struct YieldsUniform<Join<OP>,T,Args...>
202 :
public YieldsUniform<OP,T,Args...>
218template<
typename OP,
typename MT,
typename... MTs >
236template<
typename OP,
typename MT,
typename... MTs >
254template<
typename OP,
typename MT,
typename... MTs >
272template<
typename OP,
typename MT,
typename... MTs >
290template<
typename OP,
typename MT,
typename... MTs >
308template<
typename OP,
typename MT,
typename... MTs >
326template<
typename OP,
typename MT,
typename... MTs >
344template<
typename OP,
typename MT,
typename... MTs >
362template<
typename OP,
typename T,
typename... Args >
Header file for the IsPaddingEnabled type trait.
Header file for the IsSIMDEnabled type trait.
Header file for the YieldsHermitian type trait.
Header file for the YieldsLower type trait.
Header file for the YieldsStrictlyLower type trait.
Header file for the YieldsStrictlyUpper type trait.
Header file for the YieldsSymmetric type trait.
Header file for the YieldsUniLower type trait.
Header file for the YieldsUniUpper type trait.
Header file for the YieldsUpper type trait.
Header file for the YieldsZero type trait.
constexpr Join< OP > join(const OP &op)
Wraps the given operation to unpack paired arguments.
Definition Join.h:183
constexpr bool IsPaddingEnabled_v
Auxiliary variable template for the IsPaddingEnabled type trait.
Definition IsPaddingEnabled.h:131
constexpr bool IsSIMDEnabled_v
Auxiliary variable template for the IsSIMDEnabled type trait.
Definition IsSIMDEnabled.h:129
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition Inline.h:85
Generic wrapper for unpacking paired function arguments.
Definition Join.h:73
BLAZE_ALWAYS_INLINE decltype(auto) load(const std::pair< T1, T2 > &p, const Args &... args) const
Returns the result of the wrapped operation for the given SIMD vectors.
Definition Join.h:150
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition Join.h:126
BLAZE_ALWAYS_INLINE decltype(auto) load(const Args &... args) const
Returns the result of the wrapped operation for the given SIMD vectors.
Definition Join.h:136
OP op_
The wrapped operation.
Definition Join.h:158
BLAZE_ALWAYS_INLINE constexpr decltype(auto) operator()(const Args &... args) const
Returns the result of the wrapped operation for the given arguments.
Definition Join.h:92
constexpr Join(const OP &op)
Constructor of the Join functor.
Definition Join.h:80
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data types Args.
Definition Join.h:118
Compile time check for operations on matrices.
Definition YieldsHermitian.h:67
Compile time check for operations on matrices.
Definition YieldsLower.h:69
Compile time check for operations on matrices.
Definition YieldsStrictlyLower.h:67
Compile time check for operations on matrices.
Definition YieldsStrictlyUpper.h:67
Compile time check for operations on matrices.
Definition YieldsSymmetric.h:67
Compile time check for operations on matrices.
Definition YieldsUniLower.h:67
Compile time check for operations on matrices.
Definition YieldsUniUpper.h:67
Compile time check for operations on matrices.
Definition YieldsUpper.h:69
Compile time check for operations on vectors and matrices.
Definition YieldsZero.h:68
System settings for the inline keywords.