Classical Gram–Schmidt in finite precision: the mathematics
Library · Source module
Classical Gram–Schmidt in finite precision: the mathematics
No program here. One column of classical Gram–Schmidt is described by local errors (NLAlib.Ops.Examples.CgsCol): the coefficients r_i ≈ q_iᵀ a, the chain of updates w ← w - r_i q_i (NLAlib.Ops.Examples.AxpyChain), the norm ρ ≈ ‖w‖ and the scaled column q ≈ w / ρ.
Main results
* NLAlib.Ops.Examples.AxpyChain.abs_sub_le: after i updates of componentwise error e, the vector is a - Σ_{k<i} r_k q_k up to ((1 + e) ^ i - 1) (|a| + Σ_{k<i} |r_k| |q_k|). * NLAlib.Ops.Examples.CgsCol.backward: the componentwise backward error of a column, |a - Σ_{k<j} r_k q_k - ρ q| ≤ ((1 + ε_scal) (1 + ε_axpy) ^ j - 1) (|a| + Σ_{k<j} |r_k| |q_k|) when ρ ≠ 0. It holds whatever the accuracy of the coefficients and of the norm: the computed factors reproduce A even when they are far from orthogonal. Bounds on |Q̂| |R̂| in terms of ‖a‖, and the loss of orthogonality in terms of κ(A) u, need the accuracy of dot and nrm2, which CgsCol records; they are not proved here.