NLA-lib Explorer

NLAlib.dotProduct_mgsSweep_eq

Library · theorem

Projection coefficients in modified Gram–Schmidt. A vector orthogonal to the first k sweep vectors has the same inner product with the partially reduced column \mathsf{mgsSweep}(\mathbf{v},\mathbf{w},k) as with the original column. In particular, taking the next orthogonal vector gives the same entry of the triangular factor as classical Gram–Schmidt, including when an earlier column has vanished. [GolubVanLoan2013, §5.2.8].

NLAlib.dotProduct_mgsSweep_eq.{u_1, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_4} [Fintype m]
  {V : ℕ → m → 𝕜} {x : m → 𝕜} {k : ℕ} (h : ∀ i < k, star x ⬝ᵥ V i = 0) (w : m → 𝕜) :
  star x ⬝ᵥ mgsSweep V w k = star x ⬝ᵥ w

Full source on GitHub

Import NLAlib.Matrix.Factorizations.GramSchmidt.