NLA-lib Explorer

NLAlib.HasOrthonormalCols.cfc_eq_sum_smul_vecMulVec

Library ยท theorem

The functional calculus of an orthonormal diagonalization is the spectral sum \sum_i f(d_i)\mathbf{u}_i\mathbf{u}_i^{\mathsf{H}}, including repeated eigenvalues. [HornJohnson2013, ยง2.5].

NLAlib.HasOrthonormalCols.cfc_eq_sum_smul_vecMulVec.{u_1, u_2, u_3} {๐•œ : Type u_1} [RCLike ๐•œ]
  {m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] [DecidableEq m] [DecidableEq n]
  {U : Matrix n m ๐•œ} {A : Matrix n n ๐•œ} {d : m โ†’ โ„} (hU : HasOrthonormalCols U)
  (hr : Fintype.card m = Fintype.card n) (hA : A = (U * diagonal fun i โ†ฆ โ†‘(d i)) * Uแดด) (f : โ„ โ†’ โ„) :
  cfc f A = โˆ‘ i, โ†‘(f (d i)) โ€ข vecMulVec (U.col i) (star (U.col i))

Full source on GitHub

Import NLAlib.Matrix.Functions.HermitianCalculus.