C++ Reference: class IncrementalAverage

Note: This documentation is automatically generated.

Manages incremental averages.
Method
AddData

Return type: void

Arguments: double new_record

CurrentAverage

Return type: double

IncrementalAverage

Return type: explicit

Arguments: double initial_average

Initializes the average with 'initial_average' and number of records to 0.

IncrementalAverage

NumRecords

Return type: int64_t

Reset

Return type: void

Arguments: double reset_value

Sets the number of records to 0 and average to 'reset_value'.