Click or drag to resize

MovingWindowFilterMovingAverageCoefficients Method

Constructs the coefficient vector that implements a moving average filter when used with the MovingWindowFilter class.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DoubleVector MovingAverageCoefficients(
	int numberLeft,
	int numberRight
)

Parameters

numberLeft  Int32
Number of points to the left in the window.
numberRight  Int32
Number of points to the right in the window.

Return Value

DoubleVector
The vector of coefficients implementing a moving average filter.
See Also