Chris@10: Chris@10: Chris@10: Interleaved and split arrays - FFTW 3.3.3 Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10:
Chris@10: Chris@10:

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


Chris@10:
Chris@10: Chris@10:

4.5.1 Interleaved and split arrays

Chris@10: Chris@10:

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

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

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

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