#include <running_average.h>
Collaboration diagram for SPUC::running_average< Numeric >:
Public Member Functions | |
running_average (long n=0) | |
/ Constructor | |
running_average & | operator= (const running_average &rhs) |
Assignment. | |
void | set_size (long n) |
~running_average (void) | |
destructor | |
void | reset (void) |
Reset/clear. | |
Numeric | get_result () |
return result | |
Numeric | update (Numeric in) |
Clock in new input sample. | |
Protected Attributes | |
Numeric | result |
delay< Numeric > * | z |
long | size |
|
/ Constructor
|
|
destructor
|
|
return result
|
|
Assignment.
|
|
Reset/clear.
|
|
|
|
Clock in new input sample.
|
|
|
|
|
|
|