NLA-lib Explorer

NLAlib.fourierMatrix

Library · def

The Fourier matrix \mathbf{F}: the unitary matrix of the discrete Fourier transform on Fin n, with entries \mathbf{F}_{j,k} = e^{2 \pi \mathrm{i} j k / n} / \sqrt{n}.

NLAlib.fourierMatrix (n : ℕ) : Matrix (Fin n) (Fin n) ℂ

Full source on GitHub

Import NLAlib.Matrix.Structured.Circulant.