running_stats.hh File Reference

Class to keep running mean and variance of an input series. More...

#include <cmath>
Include dependency graph for running_stats.hh:

Go to the source code of this file.

Classes

class  RunningStats

Detailed Description

Class to keep running mean and variance of an input series.

This implementation works incrementally. When given a new sample, it updates internal state, without storing the entire history.

TODO: replace this version with Knuth's more numerically stable algorithm. See: "On-line_algorithm" section of Wikipedia article "Algorithms_for_calculating_variance".

Author:
Jack O'Quin
Id
running_stats.hh 2 2010-01-17 01:54:03Z jack.oquin

Definition in file running_stats.hh.

 All Classes Namespaces Files Functions Variables Typedefs Enumerator Defines


velodyne_common
Author(s): Jack O'Quin, Patrick Beeson, Michael Quinlan, Yaxin Liu
autogenerated on Fri Jan 11 10:05:56 2013