NLA-lib Explorer

NLAlib.HasOrthonormalCols.rangeProjector_diagonal_mul_conjTranspose

Library ¡ theorem

For an orthonormal frame, the range projector of a diagonal matrix times its adjoint is the diagonal indicator of the nonzero diagonal entries. No printed source.

NLAlib.HasOrthonormalCols.rangeProjector_diagonal_mul_conjTranspose.{u_1, u_2, u_3} {𝕜 : Type u_1}
  [RCLike 𝕜] {n : Type u_2} {r : Type u_3} [Fintype n] [Fintype r] [DecidableEq r]
  {V : Matrix n r 𝕜} (hV : HasOrthonormalCols V) (d : r → 𝕜) :
  rangeProjector (diagonal d * Vᴴ) = diagonal fun i ↦ if d i = 0 then 0 else 1

Full source on GitHub

Import NLAlib.Matrix.Basic.Projector.