NLA-lib Explorer

IsStarProjection.re_apply_self_eq_norm_sq

Library · theorem

A diagonal entry of an orthogonal projector is the squared norm of the corresponding column: \operatorname{Re} \mathbf{P}_{i,i} = \|\mathbf{p}_i\|^2 with \mathbf{p}_i column i of \mathbf{P}.

IsStarProjection.re_apply_self_eq_norm_sq.{u_1, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_3}
  [Fintype n] {P : Matrix n n 𝕜} (hP : IsStarProjection P) (i : n) :
  RCLike.re (P i i) = ‖WithLp.toLp 2 (P.col i)‖ ^ 2

Full source on GitHub

Import NLAlib.Matrix.Subspaces.ProjectorPair.