blitz Version 1.0.2
Loading...
Searching...
No Matches
blitz::extrema Namespace Reference

Functions

template<typename T1 , typename T2 >
 BZ_PROMOTE (T1, T2)(min)(const T1 &a
 
 if (a<=b) return T_promote(a)
 
else return T_promote (b)
 
 if (a >=b) return T_promote(a)
 

Variables

const T2 & b
 

Function Documentation

◆ BZ_PROMOTE()

template<typename T1 , typename T2 >
blitz::extrema::BZ_PROMOTE ( T1 ,
T2  ) const &

◆ if() [1/2]

blitz::extrema::if ( a >= b)

◆ if() [2/2]

blitz::extrema::if ( a<= b)

◆ T_promote()

else return blitz::extrema::T_promote ( b )

Variable Documentation

◆ b

const T2 & blitz::extrema::b
Initial value:
{
typedef BZ_PROMOTE(T1,T2) T_promote
else return T_promote(b)
BZ_PROMOTE(T1, T2)(min)(const T1 &a