35 #ifndef _BLAZE_UTIL_ALGORITHMS_MAX_H_ 36 #define _BLAZE_UTIL_ALGORITHMS_MAX_H_ 70 template<
typename T1,
typename T2
71 ,
typename = EnableIf_< Or< All<IsSigned,T1,T2>, All<IsUnsigned,T1,T2> > > >
73 max(
const T1& a,
const T2& b ) noexcept
75 return ( a < b )?( b ):( a );
92 template<
typename T1,
typename T2,
typename T3 >
94 max( const T1& a, const T2& b, const T3& c ) noexcept
98 return max(
max( a, b ), c );
116 template<
typename T1,
typename T2,
typename T3,
typename... Ts >
118 max( const T1& a, const T2& b, const T3& c, const Ts&... args ) noexcept
122 return max(
max(
max( a, b ), c ), args... );
const ElementType_< MT > max(const DenseMatrix< MT, SO > &dm)
Returns the largest element of the dense matrix.
Definition: DenseMatrix.h:1809
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
Header file for the Or class template.
Header file for the EnableIf class template.
Header file for the IsSigned type trait.
Header file for the IsUnsigned type trait.
Header file for the All type trait.
System settings for the inline keywords.