Builds the boundary points derivatives by sliding the center point of the filter towards each end of the data vectors. The filter length and polynomial degree are maintained.

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

Syntax

C#
public void BuildBoundaryDerivatives(
	DoubleVector data,
	ref DoubleVector filteredData,
	int order
)
Visual Basic (Declaration)
Public Sub BuildBoundaryDerivatives ( _
	data As DoubleVector, _
	ByRef filteredData As DoubleVector, _
	order As Integer _
)
Visual C++
public:
void BuildBoundaryDerivatives(
	DoubleVector^ data, 
	DoubleVector^% filteredData, 
	int order
)

Parameters

data
Type: CenterSpace.NMath.Core..::.DoubleVector
Data to be differentiated.
filteredData
Type: CenterSpace.NMath.Core..::.DoubleVector %
SG smoothed derivatives of
CopyC#
data
.
order
Type: System..::.Int32
Derivative order.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentExceptionThe length of the input data must be greater than window width =
CopyC#
NumberLeft
+
CopyC#
NumberLeft
+ 1.

See Also