iflMinMax(3) Image Format Library C++ Reference Manual iflMinMax(3)NAME
iflMinMax: iflMin, iflMax - simple min/max template functions
SYNOPSIS
#include <ifl/iflMinMax.h>
inline T iflMin(T a, T b)
inline T iflMax(T a, T b)
inline T iflMin(T a, T b, T c)
inline T iflMax(T a, T b, T c)
inline T iflMin(T a, T b, T c, T d)
inline T iflMax(T a, T b, T c, T d)
DESCRIPTION
This header defines a set of simple inline functions to determine the
minimum or maximum of two input values. iflMin() returns the minimum of a
and b. iflMax() returns the maximum of a and b. There are also overloaded
versions that return the min of 3 or 4 paramters. Since these are
template function they can be used with any data type that < and > make
sense on.
Page 1