class documentation

class UpdatingAverage(object):

View In Hierarchy

use instead of a list when too many values must be averaged

Method __call__ add a value to compute the average
Method __init__ Undocumented
Method append Undocumented
Instance Variable count Undocumented
Instance Variable sum Undocumented
Property value current average value
def __call__(self, val):

add a value to compute the average

def __init__(self):

Undocumented

def append(self, val):

Undocumented

count: int =

Undocumented

sum: int =

Undocumented

@property
value =

current average value