Click or drag to resize

Pfa235ConvolutionCyclicCorrelation(Double, Double, Double, Double, Double, Double, Int32, Double, Double) Method

Performs a cyclic correlation of two complex arrays which are in splitted form. The input arrays will leave intact.

Namespace: Altaxo.Calc.Fourier
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public void CyclicCorrelation(
	double[] src1real,
	double[] src1imag,
	double[] src2real,
	double[] src2imag,
	double[] resultreal,
	double[] resultimag,
	int n,
	ref double[]?? scratchreal,
	ref double[]?? scratchimag
)

Parameters

src1real  Double
The real part of the first input array (will be destroyed).
src1imag  Double
The imaginary part of the first input array (will be destroyed).
src2real  Double
The real part of the second input array (will be destroyed).
src2imag  Double
The imaginary part of the second input array (will be destroyed).
resultreal  Double
The real part of the result. (may be identical with arr1 or arr2).
resultimag  Double
The imaginary part of the result (may be identical with arr1 or arr2).
n  Int32
The length of the convolution. Has to be equal or smaller than the array size. Has to be a power of 2!
scratchreal  Double
A helper array. Must be at least of length n. If null is provided here, a new scatch array will be allocated.
scratchimag  Double
A helper array. Must be at least of length n. If null is provided here, a new scatch array will be allocated.
See Also