1 #ifndef _theplu_yat_statistics_averager4
2 #define _theplu_yat_statistics_averager4
25 #include "averager_base.h"
29 namespace statistics {
96 template<
class Derived>
101 void add_impl(
double,
long int n);
102 void rescale_impl(
double);
109 template<
class Derived>
Definition: averager_base.h:370
void add4(double mean, double cm2, double cm3, double cm4, long int n)
Base class for averager classes.
Definition: averager_base.h:69
double sum_x3_centered(void) const
Definition: averager_base.h:336
long n(void) const
number of data points
Definition: averager_base.h:105
const Averager4 & operator+=(const averager_base4< Derived > &rhs)
Third central moment.
Definition: Averager4.h:110
double sum_x4_centered(void) const
sum quadrupled centered
Definition: averager_base.h:411
double mean(void) const
mean
Definition: averager_base.h:97
double sum_xx_centered(void) const
Definition: averager_base.h:225
class to calculate 1st, 2nd, 3rd, and 4th central moments
Definition: Averager4.h:36
Averager4(void)
construct empty object