NLA-lib Explorer

Matrix.IsHermitian.re_det_cfc

Library ยท theorem

The determinant of a function of a Hermitian matrix is the product over the eigenvalues: \operatorname{Re} \det f(\mathbf{A}) = \prod_{i < \lvert n \rvert} f(\lambda_i(\mathbf{A})).

Matrix.IsHermitian.re_det_cfc.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2} [Fintype n]
  [DecidableEq n] {A : Matrix n n ๐•œ} (hA : A.IsHermitian) (f : โ„ โ†’ โ„) :
  RCLike.re (cfc f A).det = โˆ i โˆˆ Finset.range (Fintype.card n), f (eigenvalue A i)

Full source on GitHub

Import NLAlib.Matrix.Functions.LogDet.