35#ifndef _BLAZE_MATH_FUNCTORS_MINMAX_H_
36#define _BLAZE_MATH_FUNCTORS_MINMAX_H_
87 template<
typename T1,
typename T2 >
90 return minmax( std::forward<T1>( a ), std::forward<T2>( b ) );
107template<
typename T1,
typename T2 >
108struct YieldsUniform<Minmax,T1,T2>
109 :
public BoolConstant< IsUniform_v<T1> && IsUniform_v<T2> >
125template<
typename MT1,
typename MT2 >
127 :
public BoolConstant< IsSymmetric_v<MT1> && IsSymmetric_v<MT2> >
143template<
typename MT1,
typename MT2 >
145 :
public BoolConstant< IsLower_v<MT1> && IsLower_v<MT2> >
161template<
typename MT1,
typename MT2 >
163 :
public BoolConstant< ( IsUniLower_v<MT1> && ( IsUniLower_v<MT2> || IsStrictlyLower_v<MT2> ) ) ||
164 ( IsUniLower_v<MT2> && ( IsUniLower_v<MT1> || IsStrictlyLower_v<MT1> ) ) >
180template<
typename MT1,
typename MT2 >
182 :
public BoolConstant< IsStrictlyLower_v<MT1> && IsStrictlyLower_v<MT2> >
198template<
typename MT1,
typename MT2 >
200 :
public BoolConstant< IsUpper_v<MT1> && IsUpper_v<MT2> >
216template<
typename MT1,
typename MT2 >
218 :
public BoolConstant< ( IsUniUpper_v<MT1> && ( IsUniUpper_v<MT2> || IsStrictlyUpper_v<MT2> ) ) ||
219 ( IsUniUpper_v<MT2> && ( IsUniUpper_v<MT1> || IsStrictlyUpper_v<MT1> ) ) >
235template<
typename MT1,
typename MT2 >
237 :
public BoolConstant< IsStrictlyUpper_v<MT1> && IsStrictlyUpper_v<MT2> >
Macro for CUDA compatibility.
Header file for the IntegralConstant class template.
Header file for the IsLower type trait.
Header file for the IsStrictlyLower type trait.
Header file for the IsStrictlyUpper type trait.
Header file for the IsSymmetric type trait.
Header file for the IsUniLower type trait.
Header file for the IsUniUpper type trait.
Header file for the IsUpper 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.
constexpr decltype(auto) minmax(T1 &&a, T2 &&b)
Minmax function for two values/objects.
Definition Minmax.h:81
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition Inline.h:85
#define BLAZE_DEVICE_CALLABLE
Conditional macro that sets host and device attributes when compiled with CUDA.
Definition HostDevice.h:94
IntegralConstant< bool, B > BoolConstant
Generic wrapper for a compile time constant boolean value.
Definition IntegralConstant.h:110
Generic wrapper for the minmax() function.
Definition Minmax.h:79
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
System settings for the inline keywords.
Header file for the generic minmax algorithm.