Clipper
Public Member Functions
clipper::Range< T > Class Template Reference

Range - upper and lower bounds of some type. More...

#include <clipper_stats.h>

List of all members.

Public Member Functions

  Range ()
  null constructor
  Range (const T &min, const T &max)
  constructor
const T &  min () const
  minimum value
const T &  max () const
  maximum value
range () const
  range = max - min
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 )
truncate (const T &datum) const
  truncate data to be within range

Detailed Description

template<class T = ftype>
class clipper::Range< T >

Range - upper and lower bounds of some type.


The documentation for this class was generated from the following file:

Generated on Tue Oct 28 2014 for Clipper by  doxygen 1.7.4

AltStyle によって変換されたページ (->オリジナル) /