NLA-lib Explorer

NLAlib.gramDefect_apply_of_ne

Library · theorem

The entries off the diagonal of the Gram defect on the support \mathbf{D} of a real matrix \mathbf{Q} are the inner products of its columns: \mathbf{D}_{i,j} = \mathbf{q}_i \cdot \mathbf{q}_j for i \ne j.

NLAlib.gramDefect_apply_of_ne.{u_2, u_3} {m : Type u_2} {ι : Type u_3} [Fintype m] [DecidableEq ι]
  {Q : Matrix m ι ℝ} {i j : ι} (h : i ≠ j) : gramDefect Q i j = Q.col i ⬝ᵥ Q.col j

Full source on GitHub

Import NLAlib.Matrix.Perturbation.BasisExtension.