Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Types | Public Member Functions | Private Attributes | List of all members
mean_and_stddev Class Reference

functor to compute the mean and stddev of sequence using the std::foreach algorithm More...

#include <OpenMS/ANALYSIS/OPENSWATH/OPENSWATHALGO/ALGO/StatsHelpers.h>

Public Types

typedef double argument_type
 
typedef double result_type
 

Public Member Functions

 mean_and_stddev ()
 
void operator() (double sample)
 
double sample_variance () const
 
double standard_variance () const
 
double sample_stddev () const
 
double standard_stddev () const
 
double mean () const
 
unsigned long count () const
 
double variance () const
 
double stddev () const
 
double operator() () const
 

Private Attributes

double m_
 
double q_
 
unsigned long c_
 

Detailed Description

functor to compute the mean and stddev of sequence using the std::foreach algorithm

Member Typedef Documentation

◆ argument_type

◆ result_type

Constructor & Destructor Documentation

◆ mean_and_stddev()

mean_and_stddev ( )
inline

Member Function Documentation

◆ count()

unsigned long count ( ) const
inline

◆ mean()

double mean ( ) const
inline

◆ operator()() [1/2]

void operator() ( double  sample)
inline

◆ operator()() [2/2]

double operator() ( ) const
inline

◆ sample_stddev()

double sample_stddev ( ) const
inline

◆ sample_variance()

double sample_variance ( ) const
inline

◆ standard_stddev()

double standard_stddev ( ) const
inline

◆ standard_variance()

double standard_variance ( ) const
inline

◆ stddev()

double stddev ( ) const
inline

◆ variance()

double variance ( ) const
inline

Member Data Documentation

◆ c_

unsigned long c_
private

◆ m_

double m_
private

◆ q_

double q_
private

OpenMS / TOPP release 2.3.0 Documentation generated on Tue Jan 9 2018 18:22:15 using doxygen 1.8.13