#include <Association.h>
Public Member Functions | |
Meaner (void) | |
Meaner (Decimal value) | |
void | reset (void) |
void | reset (Decimal value) |
Decimal | mean () |
Decimal | mean (Decimal value) |
Meaner::Meaner | ( | void | ) | [inline] |
default constructor
Meaner::Meaner | ( | Decimal | value | ) | [inline] |
Decimal constructor
value | first value |
void Meaner::reset | ( | void | ) | [inline] |
reset the mean at null
void Meaner::reset | ( | Decimal | value | ) | [inline] |
reset the mean at another value
value | first value |
Decimal Meaner::mean | ( | ) | [inline] |
current mean
update the mean and return the updated mean
value | another value |