Constructs a convolution instance and defines the convolution kernel with a given offset and stride.

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

Syntax

C#
public Float1DConvolution(
	float[] kernel,
	int kerneloffset,
	int kernelstride,
	int datalength
)
Visual Basic (Declaration)
Public Sub New ( _
	kernel As Single(), _
	kerneloffset As Integer, _
	kernelstride As Integer, _
	datalength As Integer _
)
Visual C++
public:
Float1DConvolution(
	array<float>^ kernel, 
	int kerneloffset, 
	int kernelstride, 
	int datalength
)

Parameters

kernel
Type: array< System..::.Single >[]()[]
Convolution kernel data.
kerneloffset
Type: System..::.Int32
Offset into kernel data, default 0.
kernelstride
Type: System..::.Int32
Stride in kernel data, default 1.
datalength
Type: System..::.Int32
Length of data to convolve.

See Also