The CG error as a quadrature error
Library · Source module
The CG error as a quadrature error
For positive definite \mathbf{A}, the squared \mathbf{A}-norm error of CG after q steps is the Gauss quadrature error of \mathbf{x} \mapsto \mathbf{x}^{-1} for the spectral measure of the initial residual: \|\mathbf{x}_\star - \mathbf{x}_q\|_{\mathbf{A}}^2 = \int \mathbf{x}^{-1}\,d\mu_{\mathbf{A},\mathbf{r}_0} - \int \mathbf{x}^{-1}\,d\,\mathsf{gaussQuadrature}(\mu_{\mathbf{A},\mathbf{r}_0}, q)\,. With the Radau rules at bounds 0 < a \le \lambda_{\min} and a' \ge \lambda_{\max} this gives the computable two-sided estimates of Golub and Meurant (Golub–Strakoš): the left Radau rule bounds the error from above, the right Radau rule from below.
## Main results
* Matrix.PosDef.re_quadForm_sub_cgIterate_eq_integral_sub: the error identity. * Matrix.PosDef.re_quadForm_sub_cgIterate_le_integral_radauQuadrature_sub: the upper bound. * Matrix.PosDef.integral_radauQuadrature_sub_le_re_quadForm_sub_cgIterate: the lower bound.