Clipper
|
Range - upper and lower bounds of some type. More...
#include <clipper_stats.h>
Public Member Functions | |
Range () | |
null constructor | |
Range (const T &min, const T &max) | |
constructor | |
void | include (const T &datum) |
update limits to include a new datum | |
bool | contains (const T &datum) const |
test if data is within limits ( min <= datum <= max ) | |
T | truncate (const T &datum) const |
truncate data to be within range | |
Range - upper and lower bounds of some type.