Diffpack Documentation


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

Extremes Class Reference

extreme values of random variables. More...

#include <empirstat.h>

Inheritance diagram for Extremes::

ExpecVar EmpiricalStatistics List of all members.

Public Methods

 Extremes ()
 ~Extremes ()
void init ()
void update (real sample)
void printResults (Os os)
void intermediateResults (Os os)
real getMax ()
real getMin ()

Protected Attributes

real min
real max
int min_sample_no
int max_sample_no

Detailed Description

extreme values of random variables.

NAME: Extremes - extreme values of random variables

DESCRIPTION:

The class offers estimators for the expectation and variance of a random variable (functionality inherited from class "ExpecVar") as well as the minimum and maximum sample. The "Extremes" class is aimed also at deterministic samples, e.g., number of iterations in iterative numerical algorithms.


Constructor & Destructor Documentation

Extremes::Extremes ( ) [inline]
 

Extremes::~Extremes ( )
 


Member Function Documentation

real Extremes::getMax ( ) [inline]
 

real Extremes::getMin ( ) [inline]
 

void Extremes::init ( )
 

resets and initializes internal data structures.

Reimplemented from ExpecVar.

void Extremes::intermediateResults ( Os os )
 

prints the curent expectation and standard deviation values.

Reimplemented from ExpecVar.

void Extremes::printResults ( Os os )
 

same as "intermediateResults".

Reimplemented from ExpecVar.

void Extremes::update ( real sample )
 

adds a new sample to the estimators.

Reimplemented from ExpecVar.


Member Data Documentation

real Extremes::max [protected]
 

int Extremes::max_sample_no [protected]
 

real Extremes::min [protected]
 

int Extremes::min_sample_no [protected]
 


The documentation for this class was generated from the following file:
Copyright © 2003 inuTech GmbH. All rights reserved.