Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
BIAS::StandardDeviation Class Reference

Computes the standard deviation and mean of given values. More...

#include <MathAlgo/StandardDeviation.hh>

Public Member Functions

void AddValue (double v)
 Add a value to the vector of internally stored values. More...
 
double CalcAverage ()
 Compute median of internally stored values. More...
 
double CalcStandardDeviation ()
 Compute standard deviation of internally sorted values. More...
 
void Clear ()
 Clear the internally stored values. More...
 
 StandardDeviation ()
 
 StandardDeviation (vector< double > &values)
 Create statistics from given values. More...
 

Detailed Description

Computes the standard deviation and mean of given values.

Author
MIP
Examples:
ProjectionError.cpp.

Definition at line 40 of file StandardDeviation.hh.

Constructor & Destructor Documentation

BIAS::StandardDeviation::StandardDeviation ( )

Definition at line 34 of file StandardDeviation.cpp.

BIAS::StandardDeviation::StandardDeviation ( vector< double > &  values)

Create statistics from given values.

Definition at line 28 of file StandardDeviation.cpp.

Member Function Documentation

void BIAS::StandardDeviation::AddValue ( double  v)

Add a value to the vector of internally stored values.

Examples:
ProjectionError.cpp.

Definition at line 65 of file StandardDeviation.cpp.

double BIAS::StandardDeviation::CalcAverage ( )

Compute median of internally stored values.

Definition at line 38 of file StandardDeviation.cpp.

double BIAS::StandardDeviation::CalcStandardDeviation ( )

Compute standard deviation of internally sorted values.

Examples:
ProjectionError.cpp.

Definition at line 52 of file StandardDeviation.cpp.

void BIAS::StandardDeviation::Clear ( )

Clear the internally stored values.

Examples:
ProjectionError.cpp.

Definition at line 70 of file StandardDeviation.cpp.


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