Chris@19: Chris@19: Chris@19: Interleaved and split arrays - FFTW 3.3.4 Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19:
Chris@19: Chris@19:

Chris@19: Next: , Chris@19: Previous: Guru Interface, Chris@19: Up: Guru Interface Chris@19:


Chris@19:
Chris@19: Chris@19:

4.5.1 Interleaved and split arrays

Chris@19: Chris@19:

The guru interface supports two representations of complex numbers, Chris@19: which we call the interleaved and the split format. Chris@19: Chris@19:

The interleaved format is the same one used by the basic and Chris@19: advanced interfaces, and it is documented in Complex numbers. Chris@19: In the interleaved format, you provide pointers to the real part of a Chris@19: complex number, and the imaginary part understood to be stored in the Chris@19: next memory location. Chris@19: Chris@19: Chris@19:

The split format allows separate pointers to the real and Chris@19: imaginary parts of a complex array. Chris@19: Chris@19: Chris@19:

Technically, the interleaved format is redundant, because you can Chris@19: always express an interleaved array in terms of a split array with Chris@19: appropriate pointers and strides. On the other hand, the interleaved Chris@19: format is simpler to use, and it is common in practice. Hence, FFTW Chris@19: supports it as a special case. Chris@19: Chris@19: Chris@19: Chris@19: