cannam@167: cannam@167: cannam@167: cannam@167: cannam@167: cannam@167: FFTW 3.3.8: Interleaved and split arrays cannam@167: cannam@167: cannam@167: cannam@167: cannam@167: cannam@167: cannam@167: cannam@167: cannam@167: cannam@167: cannam@167: cannam@167: cannam@167: cannam@167: cannam@167: cannam@167: cannam@167: cannam@167: cannam@167: cannam@167: cannam@167:
cannam@167:

cannam@167: Next: , Previous: , Up: Guru Interface   [Contents][Index]

cannam@167:
cannam@167:
cannam@167: cannam@167:

4.5.1 Interleaved and split arrays

cannam@167: cannam@167:

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

cannam@167:

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

cannam@167: cannam@167:

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

cannam@167: cannam@167:

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

cannam@167: cannam@167: cannam@167: cannam@167: cannam@167: