NLA-lib Explorer

NLAlib.cfc_blockDiagonal

Library · theorem

f of a block diagonal matrix with Hermitian blocks \mathbf{A}_i is the block diagonal matrix of the f(\mathbf{A}_i); the version of Matrix.IsHermitian.cfc_fromBlocks_zero₁₂_zero₂₁ for a family of blocks of one size.

NLAlib.cfc_blockDiagonal.{u_1, u_2, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2} [Fintype m]
  [DecidableEq m] {ι : Type u_4} [Fintype ι] [DecidableEq ι] {A : ι → Matrix m m 𝕜}
  (hA : ∀ (i : ι), (A i).IsHermitian) (f : ℝ → ℝ) :
  cfc f (blockDiagonal A) = blockDiagonal fun i ↦ cfc f (A i)

Full source on GitHub

Import NLAlib.Matrix.Functions.HermitianCalculus.