Calculates the fast Fourier transform of an array of numbers or complex numbers. The input length must be a power of two.
The array
const result = Chalkboard.calc.fft([1, 0, -1, 0]); // Returns the fast Fourier transform Copy
const result = Chalkboard.calc.fft([1, 0, -1, 0]); // Returns the fast Fourier transform
Calculates the fast Fourier transform of an array of numbers or complex numbers. The input length must be a power of two.