Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

histogram::histo_bin Class Reference

A histogram bin. More...

#include <histogram.h>

List of all members.

Public Methods

 histo_bin ()
 ~histo_bin ()
double frequency ()
void frequency (const double f)
double& freqPtr ()
double start ()
void start (const double s)
double end ()
void end (const double e)

Private Attributes

double frequency_
 number of values, v, such that start <= v < end. More...

double start_
 start of bin value range. More...

double end_
 end of bin value range. More...


Detailed Description

A histogram bin.

In a standard histogram a bin always contains a positive integer frequency (a.k.a. count of elements). This histogram bin object is designed to be operated on a floating point wavelet transform. So the frequency element is a double.

Definition at line 96 of file histogram.h.


Constructor & Destructor Documentation

histogram::histo_bin::histo_bin ( ) [inline]
 

Definition at line 107 of file histogram.h.

00107 {}

histogram::histo_bin::~histo_bin ( ) [inline]
 

Definition at line 108 of file histogram.h.

00108 {}


Member Function Documentation

void histogram::histo_bin::end ( const double e ) [inline]
 

Definition at line 119 of file histogram.h.

00119 { end_ = e; }

double histogram::histo_bin::end ( ) [inline]
 

Definition at line 118 of file histogram.h.

00118 { return end_; }

double & histogram::histo_bin::freqPtr ( ) [inline]
 

Definition at line 113 of file histogram.h.

00113 { return frequency_; }

void histogram::histo_bin::frequency ( const double f ) [inline]
 

Definition at line 111 of file histogram.h.

00111 { frequency_ = f; }

double histogram::histo_bin::frequency ( ) [inline]
 

Definition at line 110 of file histogram.h.

00110 { return frequency_; }

void histogram::histo_bin::start ( const double s ) [inline]
 

Definition at line 116 of file histogram.h.

00116 { start_ = s; }

double histogram::histo_bin::start ( ) [inline]
 

Definition at line 115 of file histogram.h.

00115 { return start_; }


Member Data Documentation

double histogram::histo_bin::end_ [private]
 

end of bin value range.

Definition at line 104 of file histogram.h.

double histogram::histo_bin::frequency_ [private]
 

number of values, v, such that start <= v < end.

Definition at line 100 of file histogram.h.

double histogram::histo_bin::start_ [private]
 

start of bin value range.

Definition at line 102 of file histogram.h.


The documentation for this class was generated from the following file:
Generated at Wed May 21 21:19:27 2003 for Basic Statistics Functions by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001