OpenMS  2.8.0
Public Member Functions | Public Attributes | List of all members
SummaryStatistics< T > Struct Template Reference

Helper class to gather (and dump) some statistics from a e.g. vector<double>. More...

#include <OpenMS/MATH/STATISTICS/StatisticFunctions.h>

Collaboration diagram for SummaryStatistics< T >:
[legend]

Public Member Functions

 SummaryStatistics ()
 
 SummaryStatistics (T &data)
 

Public Attributes

double mean
 
double variance
 
double lowerq
 
double median
 
double upperq
 
T::value_type min
 
T::value_type max
 
size_t count
 

Detailed Description

template<typename T>
struct OpenMS::Math::SummaryStatistics< T >

Helper class to gather (and dump) some statistics from a e.g. vector<double>.

Constructor & Destructor Documentation

◆ SummaryStatistics() [1/2]

SummaryStatistics ( )
inline

◆ SummaryStatistics() [2/2]

SummaryStatistics ( T &  data)
inline

Member Data Documentation

◆ count

size_t count

◆ lowerq

double lowerq

◆ max

T::value_type max

◆ mean

double mean

◆ median

double median

◆ min

T::value_type min

◆ upperq

double upperq

◆ variance

double variance