Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: FFTW 3.3.5: Interleaved and split arrays Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42:
Chris@42:

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

Chris@42:
Chris@42:
Chris@42: Chris@42:

4.5.1 Interleaved and split arrays

Chris@42: Chris@42:

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

Chris@42:

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

Chris@42: Chris@42:

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

Chris@42: Chris@42:

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

Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: