Rank-polymorphic discrete Fourier transform (DFT), computed with a fast
Fourier transform (FFT) algorithm using the Accelerate library. Note that
optimised implementations are available via foreign libraries, but must be
explicitly enabled.