Sets the parameters for this filter.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public void SetFilterParameters(
	int numberLeft,
	int numberRight,
	DoubleVector coefficients
)
Visual Basic (Declaration)
Public Sub SetFilterParameters ( _
	numberLeft As Integer, _
	numberRight As Integer, _
	coefficients As DoubleVector _
)
Visual C++
public:
void SetFilterParameters(
	int numberLeft, 
	int numberRight, 
	DoubleVector^ coefficients
)

Parameters

numberLeft
Type: System..::.Int32
The number left.
numberRight
Type: System..::.Int32
The number right.
coefficients
Type: CenterSpace.NMath.Core..::.DoubleVector
The filter coefficients.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentExceptionThrown if either number left or number right is negative, or if the number of coefficients is not equal to the size of the window ( = numberLeft + numberRight + 1).

See Also