| Accumulator Methods |
The Accumulator type exposes the following members.
| Name | Description | |
|---|---|---|
| AddDataValue |
Adds the specified data value to the accumulator. | |
| Count |
Returns the number of data values. | |
| MainTest |
Demo test the Accumulator data type.
Reads in a stream of real number from standard input;
adds them to the accumulator; and prints the mean,
sample standard deviation, and sample variance to standard
output. | |
| Mean |
Returns the mean of the data values. | |
| Stddev |
Returns the sample standard deviation of the data values. | |
| Var |
Returns the sample variance of the data values. |