NLA-lib Explorer

NLAlib.gramDefect_eq_zero_iff

Library · theorem

The Gram defect on the support vanishes exactly when \mathbf{Q}^{\mathsf{H}}\mathbf{Q} = \operatorname{diag}(\mathbf{s}), \mathbf{s} the indicator of the nonzero columns of \mathbf{Q}: distinct columns are orthogonal and every nonzero column has norm one.

NLAlib.gramDefect_eq_zero_iff.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2}
  {ι : Type u_3} [Fintype m] [DecidableEq ι] {Q : Matrix m ι 𝕜} :
  gramDefect Q = 0 ↔ Qᴴ * Q = diagonal (colSupport Q)

Full source on GitHub

Import NLAlib.Matrix.Perturbation.BasisExtension.