d@0: d@0: d@0: Interleaved and split arrays - FFTW 3.2.1 d@0: d@0: d@0: d@0: d@0: d@0: d@0: d@0: d@0: d@0: d@0: d@0: d@0: d@0:
d@0:

d@0: d@0: Next: , d@0: Previous: Guru Interface, d@0: Up: Guru Interface d@0:


d@0:
d@0: d@0:

4.5.1 Interleaved and split arrays

d@0: d@0:

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

The interleaved format is the same one used by the basic and d@0: advanced interfaces, and it is documented in Complex numbers. d@0: In the interleaved format, you provide pointers to the real part of a d@0: complex number, and the imaginary part understood to be stored in the d@0: next memory location. d@0: d@0: The split format allows separate pointers to the real and d@0: imaginary parts of a complex array. d@0: d@0: Technically, the interleaved format is redundant, because you can d@0: always express an interleaved array in terms of a split array with d@0: appropriate pointers and strides. On the other hand, the interleaved d@0: format is simpler to use, and it is common in practice. Hence, FFTW d@0: supports it as a special case. d@0: d@0: d@0: d@0: