Provides a convenience class to keep a running average of values without storing the values in memory.
More...
|
void | Add (params decimal[] value) |
| Add a value to the pool.
|
|
decimal | Average [get] |
| Provides the current average.
|
int | Count [get] |
| Provides a count of items that have been added.
|
Provides a convenience class to keep a running average of values without storing the values in memory.
◆ Add()
void PeanutButter.Utils.RunningAverage.Add |
( |
params decimal[] | value | ) |
|
Add a value to the pool.
- recalculates the average, discards the value
- Parameters
-
The documentation for this class was generated from the following file:
- source/Utils/PeanutButter.Utils/RunningAverage.cs