NLA-lib Explorer

NLAlib.MGS.dotProduct_gramSchmidtQ_col

Library 路 theorem

The nonzero Gram鈥揝chmidt columns are orthonormal; zero columns remain zero.

NLAlib.MGS.dotProduct_gramSchmidtQ_col {饾暅 : Type} [RCLike 饾暅] {N k : 鈩晑
  (M : Matrix (Fin N) (Fin k) 饾暅) (c c' : Fin k) :
  star ((gramSchmidtQ M).col c) 猬濁单 (gramSchmidtQ M).col c' =
    if c = c' then if gramSchmidtR M c c = 0 then 0 else 1 else 0

Full source on GitHub

Import NLAlib.Matrix.Factorizations.MGS.Math.