cannam@95: cannam@95: cannam@95: Interleaved and split arrays - FFTW 3.3.3 cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95:
cannam@95: cannam@95:

cannam@95: Next: , cannam@95: Previous: Guru Interface, cannam@95: Up: Guru Interface cannam@95:


cannam@95:
cannam@95: cannam@95:

4.5.1 Interleaved and split arrays

cannam@95: cannam@95:

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

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

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

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