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