NLA-lib Explorer

NLAlib.sqrt_mul_conjTranspose_fourierMatrix_mulVec_apply

Library · theorem

The unitary discrete Fourier transform of a vector, scaled by \sqrt{n}, is the discrete Fourier transform: \sqrt{n}\,(\mathbf{F}^{\mathsf{H}}\mathbf{v})_k = \sum_l \mathbf{v}_l e^{-2 \pi \mathrm{i} k l / n}.

NLAlib.sqrt_mul_conjTranspose_fourierMatrix_mulVec_apply {n : ℕ} (v : Fin n → ℂ) (k : Fin n) :
  ↑√↑n * ((fourierMatrix n)ᴴ *ᵥ v) k =
    ∑ l, v l * Complex.exp (-(2 * ↑π * Complex.I * ↑↑k * ↑↑l / ↑n))

Full source on GitHub

Import NLAlib.Matrix.Structured.Circulant.