Double |
The DoubleComplex1DConvolution type exposes the following members.
Name | Description | |
---|---|---|
DoubleComplex1DConvolution(DoubleComplex, Int32) | Constructs a convolution instance and defines the convolution kernel, and input signal data length. | |
DoubleComplex1DConvolution(DoubleComplexVector, Int32) | Constructs a convolution instance and defines the convolution kernel, and input signal data length. | |
DoubleComplex1DConvolution(DoubleComplex, Int32, Int32, Int32) | Constructs a convolution instance and defines the convolution kernel with a given offset and stride. |
Name | Description | |
---|---|---|
DataLength |
Gets the length of the convolution data.
(Inherited from ConvolutionBase) | |
KernelLength |
Gets the length of the convolution kernel.
(Inherited from ConvolutionBase) | |
KernelShape |
Gets the shape of the convolution kernel.
(Inherited from ConvolutionBase) | |
Length |
Gets the length of the convolution.
(Inherited from ConvolutionBase) |
Name | Description | |
---|---|---|
Clone | Creates a deep copy of this convolution instance. | |
Convolve(DoubleComplex) | Computes the convolution between the stored convolution kernel, and the vector data. | |
Convolve(DoubleComplexVector) | Computes the convolution between the stored convolution kernel, and the vector data. | |
Convolve(DoubleComplex, DoubleComplex) | Computes the convolution between the stored convolution kernel, and the vector data. | |
Convolve(DoubleComplexVector, DoubleComplexVector) | Computes the convolution between the stored convolution kernel, and the vector data. | |
Finalize |
Provides non-deterministic destruction of underlying unmanaged resources.
(Inherited from ConvolutionBase) | |
TrimConvolution(DoubleComplexVector, ConvolutionBaseWindowing) | Creates a clipped view into the convolution. This does not create a copy of the input convolution. | |
TrimConvolutionT(T, ConvolutionBaseWindowing) |
Creates a windowed view into the convolution. This does not create a copy of the input convolution.
(Inherited from ConvolutionBase) |
Name | Description | |
---|---|---|
kerneloffset_ |
Convolution kernel offset.
(Inherited from ConvolutionBase) | |
kernelstride_ |
Convolution kernel stride.
(Inherited from ConvolutionBase) | |
mode_ |
Mode is either automatic, fft, or direct sum.
(Inherited from ConvolutionBase) |
// 1D Convolution example DoubleComplexVector kernel = new DoubleComplexVector("(1,1) (2,2) (2,2) (1,1)"); DoubleComplexVector data = new DoubleComplexVector(1, 2, 3, 4, 5, 6, 7, 8, 9); DoubleComplex1DConvolution cv = new DoubleComplex1DConvolution(kernel, data.Length); DoubleComplexVector z = cv.Convolve(data); // Now z contains the convolution result, z = kernel*data, of length 13.