Constructs the coefficient for the Savitzky-Golay Nth derivative filter when used with the MovingWindowFilter class. The order must be less than or equal to the polynomial degree.

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

Syntax

C#
public DoubleVector SavitzkyGolayNthDerivativeCoefficients(
	int order
)
Visual Basic (Declaration)
Public Function SavitzkyGolayNthDerivativeCoefficients ( _
	order As Integer _
) As DoubleVector
Visual C++
public:
DoubleVector^ SavitzkyGolayNthDerivativeCoefficients(
	int order
)

Parameters

order
Type: System..::.Int32
The order of the derivative desired.

Return Value

Savitzky-Golay coefficients.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentException The derivative order must be less than or equal to the degree of the polynomial.

See Also