NLAlib.cfc_diagonal
Library ยท theorem
f of a real diagonal matrix is the diagonal matrix of the values of f: f(\operatorname{diag}(\mathbf{d})) = \operatorname{diag}(f(\mathbf{d}_i)).
NLAlib.cfc_diagonal.{u_1, u_3} {๐ : Type u_1} [RCLike ๐] {n : Type u_3} [Fintype n] [DecidableEq n]
(f : โ โ โ) (d : n โ โ) : cfc f (diagonal fun i โฆ โ(d i)) = diagonal fun i โฆ โ(f (d i))Import NLAlib.Matrix.Functions.HermitianCalculus.