NLA-lib Explorer

The rounding error of one classical Gram–Schmidt pass

Library · Source module

The rounding error of one classical Gram–Schmidt pass

The norm analysis of one rounded classical Gram–Schmidt pass. A recursive accumulation trace (NLAlib.Computation.IsDotTrace) of a row of \mathbf{A}\mathbf{x} is bounded entrywise against the partial products, which gives a Euclidean bound (1 + u)^n u\,(\|\mathbf{A}\|_{\mathsf F} + n\|\mathbf{A}\|_2)\|\mathbf{x}\| for the dots and for the gemv of a pass. For \|\mathbf{V}^{\mathsf{T}}\mathbf{V} - \mathbf{I}\|_2 \le \eta_0 and (N + j + 2)u \le 1/100, the dots, the product, the rounded literal -1 and the update together stay within NLAlib.cgsPassBound, that is <!-- value cgsPassBound N j u \eta_0 -->2(1+\eta_0)\sqrt{j+1}\,(N+j+2)\,u. Design: docs/design/Krylov-LanczosReorth.md §2.2.

Main results

* NLAlib.Computation.IsDotTrace.abs_sub_mulVec_le: a trace of one row of a matrix-vector product, against its partial products. * NLAlib.norm_sub_le_cgsPassBound_mul_norm_of_abs_sub_le: the three error bounds of one rounded pass from the entrywise errors of its phases.

Declarations