Computes the convolution between the stored convolution kernel, and the vector data.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public void Convolve( float[] data, ref float[] z ) |
| Visual Basic (Declaration) |
|---|
Public Sub Convolve ( _ data As Single(), _ ByRef z As Single() _ ) |
| Visual C++ |
|---|
public: void Convolve( array<float>^ data, array<float>^% z ) |
Parameters
- data
- Type: array<
System..::.Single
>[]()[]
Input data.
- z
- Type:
array<
System..::.Single
>[]()[]
%
Convolution result, z = kernel*data.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if the input data length does not match the length of this convolution instance. |
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if the output convolution vector, z, is to small to contain the resultant convolution. |