H::Average Class Reference
Class for averaging things out over a number of iterations.
More...
#include <Average.hpp>
Collaboration diagram for H::Average:
[legend]List of all members.
|
Public Member Functions |
void | push (double Value) |
| Push a value.
|
double | average () |
| Get the average.
|
| Average (int Size=10) |
| Init constructor.
|
virtual | ~Average () |
| Destructor.
|
Detailed Description
Class for averaging things out over a number of iterations.
Member Function Documentation
double Average::average |
( |
void |
|
) |
|
Get the average.
- Returns:
- The average of all pushed values
void Average::push |
( |
double |
Value |
) |
|
Push a value.
- Parameters:
-
The documentation for this class was generated from the following files:
Generated on Wed Jun 27 12:44:01 2007 for gizmod by
1.4.7