C# Class SwarmOps.StatisticsAccumulator

Compute statistical measures in accumulating manner, incl. mean, variance, std.deviation, min, max.
Show file Open project: DanWBR/dwsim3 Class Usage Examples

Public Methods

Method Description
Accumulate ( double x ) : void

Input data and accumulate variance.

Clear ( ) : void

Clear the accumulated variance.

StatisticsAccumulator ( ) : System.Diagnostics

Construct the object.

Method Details

Accumulate() public method

Input data and accumulate variance.
public Accumulate ( double x ) : void
x double Data to input.
return void

Clear() public method

Clear the accumulated variance.
public Clear ( ) : void
return void

StatisticsAccumulator() public method

Construct the object.
public StatisticsAccumulator ( ) : System.Diagnostics
return System.Diagnostics