35 #ifndef _BLAZE_UTIL_ALGORITHMS_MIN_H_ 36 #define _BLAZE_UTIL_ALGORITHMS_MIN_H_ 70 template<
typename T1,
typename T2
71 ,
typename = EnableIf_< Or< All<IsSigned,T1,T2>, All<IsUnsigned,T1,T2> > > >
73 min(
const T1& a,
const T2& b ) noexcept
75 return ( a < b )?( a ):( b );
92 template<
typename T1,
typename T2,
typename T3 >
94 min( const T1& a, const T2& b, const T3& c ) noexcept
98 return min(
min( a, b ), c );
116 template<
typename T1,
typename T2,
typename T3,
typename... Ts >
118 min( const T1& a, const T2& b, const T3& c, const Ts&... args ) noexcept
122 return min(
min(
min( a, b ), c ), args... );
const ElementType_< MT > min(const DenseMatrix< MT, SO > &dm)
Returns the smallest element of the dense matrix.
Definition: DenseMatrix.h:1762
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.