Module microfft::real

source ·
Expand description

FFT on real inputs (RFFT)

This implementation takes advantage of the symmetry properties of the FFT to compute an N-point RFFT by internally invoking an N/2-point CFFT, roughly doubling the computation speed compared to used a full N-point CFFT.

The produced output is the first half out the output returned by the corresponding N-point CFFT, i.e. the real DC value and N/2 - 1 positive-frequency terms. Additionally, the real-valued coefficient at the Nyquist frequency is packed into the imaginary part of the DC bin. The negative-frequency terms are not computed, since they can be calculated from the positive-frequency terms and are therefore redundant.

Functions§

  • Perform an in-place 2-point RFFT.
  • Perform an in-place 4-point RFFT.
  • Perform an in-place 8-point RFFT.
  • Perform an in-place 16-point RFFT.
  • Perform an in-place 32-point RFFT.
  • Perform an in-place 64-point RFFT.
  • Perform an in-place 128-point RFFT.
  • Perform an in-place 256-point RFFT.
  • Perform an in-place 512-point RFFT.
  • Perform an in-place 1024-point RFFT.
  • Perform an in-place 2048-point RFFT.
  • Perform an in-place 4096-point RFFT.
  • Perform an in-place 8192-point RFFT.