Click or drag to resize

NativeFourierMethodsCorrelationCyclic(Double, Double, Double, Double, Double, Double, Int32) Method

Performes a cyclic correlation between splitted complex arrays and stores the result in resultarr. Resultarr must be different from the input 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[] src1real,
	double[] src1imag,
	double[] src2real,
	double[] src2imag,
	double[] resultreal,
	double[] resultimag,
	int n
)

Parameters

src1real  Double
First array (kernel, real part values).
src1imag  Double
First array (kernel, imaginary part values).
src2real  Double
Second array (data, real part values).
src2imag  Double
Second array (data, imaginary part values).
resultreal  Double
The array that stores the correlation result (real part values.
resultimag  Double
The array that stores the correlation result (imaginary part values.
n  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