NLA-lib Explorer

NLAlib.det_circulant

Library · theorem

The determinant of a circulant matrix is the product of the Fourier coefficients of its first column: \det \mathbf{C} = \prod_k \sqrt{n}\,(\mathbf{F}^{\mathsf{H}}\mathbf{v})_k.

NLAlib.det_circulant {n : ℕ} (v : Fin n → ℂ) :
  (circulant v).det = ∏ k, ↑√↑n * ((fourierMatrix n)ᴴ *ᵥ v) k

Full source on GitHub

Import NLAlib.Matrix.Structured.Circulant.