NLA-lib Explorer

NLAlib.gramDefect_apply_self_of_col_ne_zero

Library · theorem

The diagonal entry of the Gram defect on the support \mathbf{D} of a real matrix \mathbf{Q} at a nonzero column \mathbf{q}_j: \mathbf{D}_{j,j} = \|\mathbf{q}_j\|^2 - 1.

NLAlib.gramDefect_apply_self_of_col_ne_zero.{u_2, u_3} {m : Type u_2} {ι : Type u_3} [Fintype m]
  [DecidableEq ι] {Q : Matrix m ι ℝ} {j : ι} (h : Q.col j ≠ 0) :
  gramDefect Q j j = ‖WithLp.toLp 2 (Q.col j)‖ ^ 2 - 1

Full source on GitHub

Import NLAlib.Matrix.Perturbation.BasisExtension.