Discrete Fourier transform.
A real or complex vector or matrix.
A (generally complex) vector of the same size as
which is the discrete Fourier transform of the input.
If the input is a matrix, the
of each column is computed separately. Unless the size of
is much slower than