Theorem (circulant_eq_fourierMatrix_mul_diagonal_mul_conjTranspose). Fourier diagonalisation of a circulant matrix. The circulant matrix \mathbf{C} of \mathbf{v} \in \mathbb{C}^n is \mathbf{C} = \mathbf{F} \operatorname{diag}(\hat{\mathbf{v}}) \mathbf{F}^{\mathsf{H}}, with \mathbf{F} the Fourier matrix and \hat{\mathbf{v}} = \sqrt{n}\,\mathbf{F}^{\mathsf{H}}\mathbf{v} the discrete Fourier transform of \mathbf{v}. [HornJohnson2013, §2.2.P10]; [GolubVanLoan2013, §4.8.2].
Headline
Lean statement and details
NLAlib.circulant_eq_fourierMatrix_mul_diagonal_mul_conjTranspose {n : ℕ} (v : Fin n → ℂ) :
circulant v = fourierMatrix n * diagonal (↑√↑n • (fourierMatrix n)ᴴ *ᵥ v) * (fourierMatrix n)ᴴ