NLA-lib Explorer

NLAlib.HasOrthonormalCols.gramSchmidtQ_mul_left

Library · theorem

Gram–Schmidt commutes with a factor \mathbf{W} with orthonormal columns on the left: the Gram–Schmidt factor of \mathbf{W}\mathbf{A} is \mathbf{W}\mathbf{Q}.

NLAlib.HasOrthonormalCols.gramSchmidtQ_mul_left.{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]
  {l : Type u_4} [Fintype l] [DecidableEq m] {W : Matrix l m 𝕜} (hW : HasOrthonormalCols W)
  (A : Matrix m n 𝕜) : gramSchmidtQ (W * A) = W * gramSchmidtQ A

Full source on GitHub

Import NLAlib.Matrix.Factorizations.GramSchmidt.