NLA-lib Explorer

NLAlib.Ops.Examples.MgsRec

Library · inductive

The modified Gram–Schmidt recurrence with local errors: after j steps from w₀, the vector is w and the coefficients are r; each step computes a coefficient ρ as a dot product up to εd and updates w by w - ρ q_j up to εa.

NLAlib.Ops.Examples.MgsRec {K : Type} (dec : K → ℝ) (εd εa : ℝ) (n : ℕ) (q : ℕ → ℕ → K)
  (w₀ : ℕ → K) : ℕ → (ℕ → K) → List K → Prop

Full source on GitHub

Import NLAlib.Ops.Examples.GramSchmidt.