#include <eval.h>
Public Member Functions | |
void | Clear () |
double | Mean () const |
int | NumDataValues () const |
void | Push (double x) |
void | Push (double x, double w) |
RunningStat () | |
double | StandardDeviation () const |
double | Variance () const |
Private Attributes | |
double | m_n |
double | m_newM |
double | m_newS |
double | m_oldM |
double | m_oldS |
RunningStat::RunningStat | ( | ) | [inline] |
void RunningStat::Clear | ( | ) | [inline] |
double RunningStat::Mean | ( | ) | const [inline] |
int RunningStat::NumDataValues | ( | ) | const [inline] |
void RunningStat::Push | ( | double | x | ) | [inline] |
void RunningStat::Push | ( | double | x, |
double | w | ||
) | [inline] |
double RunningStat::StandardDeviation | ( | ) | const [inline] |
double RunningStat::Variance | ( | ) | const [inline] |
double RunningStat::m_n [private] |
double RunningStat::m_newM [private] |
double RunningStat::m_newS [private] |
double RunningStat::m_oldM [private] |
double RunningStat::m_oldS [private] |