| MovingWindowFilterMovingAverageCoefficients Method |
Constructs the coefficient vector that implements a moving average filter when
used with the MovingWindowFilter class.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleVector MovingAverageCoefficients(
int numberLeft,
int numberRight
)
Public Shared Function MovingAverageCoefficients (
numberLeft As Integer,
numberRight As Integer
) As DoubleVector
public:
static DoubleVector^ MovingAverageCoefficients(
int numberLeft,
int numberRight
)
static member MovingAverageCoefficients :
numberLeft : int *
numberRight : int -> DoubleVector
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
DoubleVectorThe vector of coefficients implementing a moving average filter.
See Also