OpenMS
|
Helper class to gather (and dump) some statistics from a e.g. vector<double>. More...
#include <OpenMS/MATH/StatisticFunctions.h>
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 |
Helper class to gather (and dump) some statistics from a e.g. vector<double>.
|
default |
|
inline |
References SummaryStatistics< T >::count, SummaryStatistics< T >::lowerq, SummaryStatistics< T >::max, OpenMS::Math::mean(), SummaryStatistics< T >::mean, OpenMS::Math::median(), SummaryStatistics< T >::median, SummaryStatistics< T >::min, OpenMS::Math::quantile1st(), OpenMS::Math::quantile3rd(), SummaryStatistics< T >::upperq, OpenMS::Math::variance(), and SummaryStatistics< T >::variance.
size_t count = 0 |
Referenced by SummaryStatistics< T >::SummaryStatistics().
double lowerq = 0 |
Referenced by SummaryStatistics< T >::SummaryStatistics().
T::value_type max = 0 |
Referenced by SummaryStatistics< T >::SummaryStatistics().
double mean = 0 |
Referenced by SummaryStatistics< T >::SummaryStatistics().
double median = 0 |
Referenced by SummaryStatistics< T >::SummaryStatistics().
T::value_type min = 0 |
Referenced by SummaryStatistics< T >::SummaryStatistics().
double upperq = 0 |
Referenced by SummaryStatistics< T >::SummaryStatistics().
double variance = 0 |
Referenced by SummaryStatistics< T >::SummaryStatistics().