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

SampleStatistic Class Reference

#include <SmplStat.h>

List of all members.

Public Methods

 SampleStatistic ()
virtual ~SampleStatistic ()
virtual void reset ()
virtual void operator+= (double)
long samples ()
double mean ()
double stdDev ()
double var ()
double min ()
double max ()
double confidence (int p_percentage)
double confidence (double p_value)

Protected Attributes

long unsigned n
double x
double x2
double minValue
double maxValue


Constructor & Destructor Documentation

SampleStatistic::SampleStatistic ( ) [inline]
 

Definition at line 64 of file SmplStat.h.

SampleStatistic::~SampleStatistic ( ) [inline, virtual]
 

Definition at line 68 of file SmplStat.h.


Member Function Documentation

double SampleStatistic::confidence ( double p_value )
 

Definition at line 146 of file SmplStat.cxx.

double SampleStatistic::confidence ( int interval )
 

Definition at line 134 of file SmplStat.cxx.

double SampleStatistic::max ( ) [inline]
 

Definition at line 67 of file SmplStat.h.

double SampleStatistic::mean ( )
 

Definition at line 102 of file SmplStat.cxx.

Referenced by ShowerTest::last(), and TestApp::last().

double SampleStatistic::min ( ) [inline]
 

Definition at line 66 of file SmplStat.h.

void SampleStatistic::operator+= ( double value ) [virtual]
 

Definition at line 92 of file SmplStat.cxx.

void SampleStatistic::reset ( ) [virtual]
 

Definition at line 84 of file SmplStat.cxx.

Referenced by SampleStatistic().

long SampleStatistic::samples ( ) [inline]
 

Definition at line 65 of file SmplStat.h.

Referenced by ShowerTest::last(), and TestApp::last().

double SampleStatistic::stdDev ( )
 

Definition at line 124 of file SmplStat.cxx.

Referenced by confidence(), ShowerTest::last(), and TestApp::last().

double SampleStatistic::var ( )
 

Definition at line 113 of file SmplStat.cxx.

Referenced by stdDev().


Member Data Documentation

double SampleStatistic::maxValue [protected]
 

Definition at line 35 of file SmplStat.h.

double SampleStatistic::minValue [protected]
 

Definition at line 35 of file SmplStat.h.

long unsigned SampleStatistic::n [protected]
 

Definition at line 32 of file SmplStat.h.

double SampleStatistic::x [protected]
 

Definition at line 33 of file SmplStat.h.

double SampleStatistic::x2 [protected]
 

Definition at line 34 of file SmplStat.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:20:31 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000