SlidingAverage.clear

Resets the average counter to the zero state:

- index is set to max so that it will be set to 0 once .push() is called - average is set to 0.0 - all elements of window reset to T.init - used window size set to 0

class SlidingAverage(T)
void
clear
()

Meta