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 >
219struct YieldsSymmetric<Join<OP>,MT,MTs...>
220 :
public YieldsSymmetric<OP,MT,MTs...>
236template<
typename OP,
typename MT,
typename... MTs >
237struct YieldsHermitian<Join<OP>,MT,MTs...>
238 :
public YieldsHermitian<OP,MT,MTs...>
254template<
typename OP,
typename MT,
typename... MTs >
255struct YieldsLower<Join<OP>,MT,MTs...>
256 :
public YieldsLower<OP,MT,MTs...>
272template<
typename OP,
typename MT,
typename... MTs >
273struct YieldsUniLower<Join<OP>,MT,MTs...>
274 :
public YieldsUniLower<OP,MT,MTs...>
290template<
typename OP,
typename MT,
typename... MTs >
291struct YieldsStrictlyLower<Join<OP>,MT,MTs...>
292 :
public YieldsStrictlyLower<OP,MT,MTs...>
308template<
typename OP,
typename MT,
typename... MTs >
309struct YieldsUpper<Join<OP>,MT,MTs...>
310 :
public YieldsUpper<OP,MT,MTs...>
326template<
typename OP,
typename MT,
typename... MTs >
327struct YieldsUniUpper<Join<OP>,MT,MTs...>
328 :
public YieldsUniUpper<OP,MT,MTs...>
344template<
typename OP,
typename MT,
typename... MTs >
345struct YieldsStrictlyUpper<Join<OP>,MT,MTs...>
346 :
public YieldsStrictlyUpper<OP,MT,MTs...>
362template<
typename OP,
typename T,
typename... Args >
363struct YieldsZero<Join<OP>,T,Args...>
364 :
public YieldsZero<OP,T,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 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
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
System settings for the inline keywords.