Click or drag to resize

NativeFourierMethodsCorrelationCyclic(Double, Double, Double, Int32) Method

Performes a cyclic correlation between array arr1 and arr2 and stores the result in resultarr. Resultarr must be different from the other two arrays.

Namespace: Altaxo.Calc.Fourier
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void CorrelationCyclic(
	double[] arr1,
	double[] arr2,
	double[] resultarr,
	int count
)

Parameters

arr1  Double
First array (kernel).
arr2  Double
Second array (data).
resultarr  Double
The array that stores the correlation result.
count  Int32
Number of points to correlate.
Remarks
Correlation of src1 with src2 is not the same as correlation of src2 with src1. The correlation here is defined as corr(src1,src2)(j)=SUM(k) src1(k) src2(k+j).
See Also