NLA-lib Explorer

NLAlib.gramSchmidtQ_submatrix

Library · theorem

Gram–Schmidt commutes with restriction to an initial segment of columns: for an order embedding e whose range is a lower set, the Gram–Schmidt matrix of the columns e(j) of \mathbf{A} consists of the columns e(j) of the Gram–Schmidt matrix of \mathbf{A}.

NLAlib.gramSchmidtQ_submatrix.{u_1, u_2, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2}
  {n : Type u_3} [Fintype m] [Fintype n] [LinearOrder n] [LocallyFiniteOrderBot n] {p : Type u_4}
  [Fintype p] [LinearOrder p] [LocallyFiniteOrderBot p] (A : Matrix m n 𝕜) (e : p ↪o n)
  (he : IsLowerSet (Set.range ⇑e)) :
  gramSchmidtQ (A.submatrix id ⇑e) = (gramSchmidtQ A).submatrix id ⇑e

Full source on GitHub

Import NLAlib.Matrix.Factorizations.GramSchmidt.