#include <sum_and_dump.h>
Collaboration diagram for SPUC::sum_and_dump< Numeric >:

Public Member Functions | |
| sum_and_dump (long exp) | |
| Numeric | output (void) |
| void | set_exp (long exp) |
| void | input (Numeric in_val) |
Public Attributes | |
| Numeric | average |
| Numeric | result |
| long | count_exp |
| long | count |
| long | count_val |
This modules sums the input for a fixed number of samples stores the result and begins a new summation. Similar to an integrate and dump function
Tony Kirke
| SPUC::sum_and_dump< Numeric >::sum_and_dump | ( | long | exp | ) | [inline] |
| void SPUC::sum_and_dump< Numeric >::input | ( | Numeric | in_val | ) | [inline] |
| Numeric SPUC::sum_and_dump< Numeric >::output | ( | void | ) | [inline] |
| void SPUC::sum_and_dump< Numeric >::set_exp | ( | long | exp | ) | [inline] |
| Numeric SPUC::sum_and_dump< Numeric >::average |
| long SPUC::sum_and_dump< Numeric >::count |
| long SPUC::sum_and_dump< Numeric >::count_exp |
| long SPUC::sum_and_dump< Numeric >::count_val |
| Numeric SPUC::sum_and_dump< Numeric >::result |
1.4.7