NLA-lib Explorer

NLAlib.dotProduct_gramSchmidtQ_col

Library 路 theorem

The columns of the Gram鈥揝chmidt factor are mutually orthogonal, with squared norm one for a successful pivot and zero for a breakdown.

NLAlib.dotProduct_gramSchmidtQ_col.{u_1, u_4} {饾暅 : Type u_1} [RCLike 饾暅] {m : Type u_4} [Fintype m]
  {k : 鈩晑 (M : Matrix m (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.GramSchmidt.