regal::MathStatisticMaker Class Reference

#include <MathStatisticMaker.hpp>

List of all members.

Public Member Functions

void addValue (const double &value)
double getMean ()
double getStandardDeviation ()
double getVariance ()
 MathStatisticMaker ()
void resetCounter ()
 ~MathStatisticMaker ()


Constructor & Destructor Documentation

regal::MathStatisticMaker::MathStatisticMaker (  )  [inline]

Creates a MathStatisticMaker

Parameters:
path is the path for the output file
option is the option to open the file : w,w+,a,a+

regal::MathStatisticMaker::~MathStatisticMaker (  )  [inline]

Destroys a MathStatisticMaker


Member Function Documentation

void regal::MathStatisticMaker::addValue ( const double &  value  )  [inline]

Adds a value to the statistics

Parameters:
value is the value to add

double regal::MathStatisticMaker::getMean (  )  [inline]

Returns the mean of all the added values

Returns:
the mean of all the added values

double regal::MathStatisticMaker::getStandardDeviation (  )  [inline]

Returns the standard deviation of all the added values

Returns:
the standard deviation of all the added values

double regal::MathStatisticMaker::getVariance (  )  [inline]

Returns the variance of all the added values

Returns:
the variance of all the added values

void regal::MathStatisticMaker::resetCounter (  )  [inline]

Reset counters in order to compute new statistics.


The documentation for this class was generated from the following file:
Generated on Mon Sep 29 16:33:59 2008 for REGAL by  doxygen 1.5.1