Computes the correlation between the stored correlation kernel, and the vector data.

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

Syntax

C#
public void Correlate(
	double[] data,
	ref double[] z
)
Visual Basic (Declaration)
Public Sub Correlate ( _
	data As Double(), _
	ByRef z As Double() _
)
Visual C++
public:
void Correlate(
	array<double>^ data, 
	array<double>^% z
)

Parameters

data
Type: array< System..::.Double >[]()[]
Input data.
z
Type: array< System..::.Double >[]()[] %
Correlation result.

Exceptions

ExceptionCondition
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.

See Also