Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: FFTW 3.3.8: Interleaved and split arrays Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82:
Chris@82:

Chris@82: Next: , Previous: , Up: Guru Interface   [Contents][Index]

Chris@82:
Chris@82:
Chris@82: Chris@82:

4.5.1 Interleaved and split arrays

Chris@82: Chris@82:

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

Chris@82:

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

Chris@82: Chris@82:

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

Chris@82: Chris@82:

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

Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: