C++ Reference: class ExponentialMovingAverage
Note: This documentation is automatically generated.
Manages exponential moving averages defined as new_average = decaying_factor * old_average + (1 - decaying_factor) * new_record. where 0 < decaying_factor < 1.Method | |
---|---|
AddData | Return type: Arguments: |
CurrentAverage | Return type: Returns exponential moving average for all the added data so far. |
ExponentialMovingAverage | Return type: Arguments: |
NumRecords | Return type: Returns the total number of added records so far. |