Applies the filter to the given data using the given boundary option and places the output in a given vector. The given boundary options sets the current boundary option.

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

Syntax

C#
public void Filter(
	DoubleVector x,
	MovingWindowFilter..::.BoundaryOption boundaryOpt,
	ref DoubleVector filteredData
)
Visual Basic (Declaration)
Public Sub Filter ( _
	x As DoubleVector, _
	boundaryOpt As MovingWindowFilter..::.BoundaryOption, _
	ByRef filteredData As DoubleVector _
)
Visual C++
public:
void Filter(
	DoubleVector^ x, 
	MovingWindowFilter..::.BoundaryOption boundaryOpt, 
	DoubleVector^% filteredData
)

Parameters

x
Type: CenterSpace.NMath.Core..::.DoubleVector
The data to be filtered.
boundaryOpt
Type: CenterSpace.NMath.Core..::.MovingWindowFilter..::.BoundaryOption
The boundary option.
filteredData
Type: CenterSpace.NMath.Core..::.DoubleVector %
Filtered data is place here. If the length of filteredData is not equal to the length of the input data x, it will be resized.

See Also