fft

fun fft(real: FloatArray, imag: FloatArray)

Performs an In-place Fast Fourier Transform.

Parameters

real

The real part of the signal. Must have a length that is a power of 2.

imag

The imaginary part of the signal. Must have a same length as real.