Calculates the discrete Fourier transform of an array of numbers or complex numbers.
The array
const result = Chalkboard.calc.dft([1, 0, -1, 0]); // Returns the four-point discrete Fourier transform Copy
const result = Chalkboard.calc.dft([1, 0, -1, 0]); // Returns the four-point discrete Fourier transform
Calculates the discrete Fourier transform of an array of numbers or complex numbers.