OpenMS
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 ()=default
 
 SummaryStatistics (T &data)
 

Public Attributes

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

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 ( )
default

◆ SummaryStatistics() [2/2]

Member Data Documentation

◆ count

size_t count = 0

◆ lowerq

double lowerq = 0

◆ max

T::value_type max = 0

◆ mean

double mean = 0

◆ median

double median = 0

◆ min

T::value_type min = 0

◆ upperq

double upperq = 0

◆ variance

double variance = 0