Provides symmetric complex conjugate signal unpacking services. Typically used for unpacking 2D FFT's of real
signals.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
[SerializableAttribute] public abstract class DoubleSymmetric2DSignalReader |
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public MustInherit Class DoubleSymmetric2DSignalReader |
| Visual C++ |
|---|
[SerializableAttribute] public ref class DoubleSymmetric2DSignalReader abstract |
Remarks
Use this reader for extracting packed signal data resulting from forward 2D FFT's of real signals. The FFT instance
used to generated the signal data must be queried for the appropriate reader using the GetSignalReader() method.
This guarantees that the correct packed signal reader is constructed.
Examples
// Computes a 2x3 FFT, and then unpacks the results using a symmetric 2D signal reader. double[,] m23 = { { 6, 5, 4 }, { 4, 3, 4 } }; DoubleForward2DFFT fft23 = new DoubleForward2DFFT(2, 3); fft23.FFTInPlace(m23); DoubleSymmetric2DSignalReader reader = fft23.GetSignalReader(ref m23); // Get correct signal reader from fft instance. DoubleComplex[,] fftresult = new DoubleComplex[reader.Rows, reader.Columns]; reader.UnpackFull(ref fftresult);