26 template <
class T>
inline T
Min(
const T& a_a,
29 return (a_a < a_b) ? a_a : a_b;
39 template <
class T>
inline T
Max (
const T& a_a,
42 return (a_a > a_b) ? a_a : a_b;
53 template <
class T>
inline T
Abs(
const T& a_a)
55 return (a_a > 0) ? a_a : -a_a;
62 template <
class T>
inline void Swap(T& a_a,
80 inline int ipow(
int a,
int b)
94 return std::pow(a, b);
#define CH_assert(cond)
Definition: CHArray.H:37
double Real
Definition: REAL.H:33
T Abs(const T &a_a)
Definition: Misc.H:53
T Min(const T &a_a, const T &a_b)
Definition: Misc.H:26
int ipow(int a, int b)
Definition: Misc.H:80
T Max(const T &a_a, const T &a_b)
Definition: Misc.H:39
void Swap(T &a_a, T &a_b)
Definition: Misc.H:62