Class RunningStatistics
Used for computing running statistics of a distribution.
Namespace: ABB.Robotics.Math
Assembly: ABB.Robotics.Math.dll
Syntax
public class RunningStatistics
Constructors
RunningStatistics()
Declaration
public RunningStatistics()
Properties
Mean
The mean of the distribution.
Declaration
public double Mean { get; }
Property Value
Type | Description |
---|---|
Double |
StandardDeviation
The standard deviation of the distribution.
Declaration
public double StandardDeviation { get; }
Property Value
Type | Description |
---|---|
Double |
Remarks
Returns NaN if there are not enough values(2) to compute the standard deviation.
Variance
The variance of the distribution.
Declaration
public double Variance { get; }
Property Value
Type | Description |
---|---|
Double |
Remarks
Returns NaN if there are not enough values(2) to compute the variance.
Methods
Push(Double)
Push a new number to the distribution.
Declaration
public void Push(double val)
Parameters
Type | Name | Description |
---|---|---|
Double | val |