#include <running_sum.h>
Collaboration diagram for SPUC::running_sum< Numeric >:
Public Member Functions | |
running_sum (long n=0) | |
/ Constructor | |
running_sum & | operator= (const running_sum &rhs) |
Assignment. | |
void | set_size (long n) |
~running_sum (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.
|
|
|
|
|
|
|