Elementa v8.0.0
Minimalistic library for any C++ application (C++11 and up)
Loading...
Searching...
No Matches
statistic.h File Reference
#include "elementa/license.inc"
#include "elementa/checks.inc"
#include <limits>
#include <type_traits>
#include <string>
#include <cmath>
#include <vector>
#include <functional>
#include "elementa/base/exceptions.h"
Include dependency graph for statistic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  elementa::math::stats::StaPol_BaseOnInc
 An incomplete base policy for Statistic that uses incCalc() to do calcs. More...
 
class  elementa::math::stats::StaPol_Min
 Policy for Statistic that calculates the minimum. More...
 
class  elementa::math::stats::StaPol_Max
 Policy for Statistic that calculates the maximum. More...
 
class  elementa::math::stats::StaPol_Mean
 Policy for Statistic that calculates the mean. More...
 
class  elementa::math::stats::StaPol_Var
 Policy for Statistic that calculates the variance. More...
 
class  elementa::math::stats::Statistic< Calc >
 A statistic, i.e., a numerical function of a sample of data. More...
 
class  elementa::math::stats::StaGroup_MinMax
 A group of statistics consisting of min and max. More...
 
class  elementa::math::stats::StaGroup_MeanVar
 A group of statistics consisting of mean and var. More...
 
class  elementa::math::stats::StaGroup_MinMaxMeanVar
 A group of statistics consisting of min, max, mean and var. More...
 
using elementa::math::stats::SampleSize = size_t
 The number of elements in a sample. More...
 
using elementa::math::stats::StaDatum = double
 Type of data to allow for statistic calculation. More...
 
template<class DatumIterator >
using elementa::math::stats::GetStaDatumFun = std::function< StaDatum(const DatumIterator &) >
 A function type that gets a datum from an iterator. More...
 
template<class DatumIterator >
constexpr StaDatum elementa::math::stats::getstadatum_direct (const DatumIterator &ti)
 A simple GetStaDatumFun that gets directly the datum from the iterator. More...