[C#] | public ArrayMath expAvg(double smoothingFactor); |
[VB] | Public Function expAvg(smoothingFactor As Double) As ArrayMath |
ChartDirector 7.1 (.NET Edition)
ArrayMath.
Usage
[C#] | public ArrayMath expAvg(double smoothingFactor); |
[VB] | Public Function expAvg(smoothingFactor As Double) As ArrayMath |
Description
avg(n) = value(n) * smoothingFactor + avg(n - 1) * (1 - smoothingFactor)
Arguments
Argument | Default | Description |
---|---|---|
smoothingFactor | (Mandatory) | The smoothing factor used for computing exponential average. It should be between 0 - 1. |
Return Value