In mathematics, the discrete Fourier transform over an arbitrary ring generalizes the discrete Fourier transform of a function whose values are complex numbers.
Let be any ring, let be an integer, and let be a principal nth root of unity, defined by:
The discrete Fourier transform maps an n-tuple of elements of to another n-tuple of elements of according to the following formula: