ChartDirector Ver 3.0 (C++ Edition)

ArrayMath.movStdDev


Usage

ArrayMath& movStdDev(int interval);

Description

Replace each element of the ArrayMath object by its moving standard deviation.

The interval parameter specifies the window size for computing moving standard deviation. The moving standard deviation is computed as the standard deviation of the current element with the previous (interval - 1) elements. No moving standard deviation can be computed for the first (interval - 1) elements, because there is insufficient previous elements. So the first (interval - 1) elements will be replaced with NoValue.

Arguments

ArgumentDefaultDescription
interval(Mandatory)The window size.

Return Value

The current ArrayMath object.