-
Notifications
You must be signed in to change notification settings - Fork 0
signal.Fft.Function.fft
Christian d'Heureuse edited this page Jun 7, 2026
·
2 revisions
dsp-collection / signal/Fft / fft
function fft(x, direction?): ComplexArray;Defined in: signal/Fft.ts:32
Computes the FFT of an array of complex numbers.
Depending on the application, the output values must be normalized.
The input values. The array can have any length, but when it's a power of 2, the computation is faster.
boolean = true
true for FFT (forward FFT), false for iFFT (inverse FFT).
The result of the FFT, without any normalization. The returned array has the same length as the input array.