NLA-lib Explorer

The GMRES iterate

Library · Source module

The GMRES iterate

The GMRES iterate is defined mathematically: from a start \mathbf{x}_0 it is \mathbf{x}_0 plus the minimal residual approximation from the Krylov space of the initial residual, \mathsf{gmresIterate}(\mathbf{A}, \mathbf{b}, \mathbf{x}_0, q) = \mathbf{x}_0 + \mathsf{minResidualInverse}(\mathbf{A}, \mathbf{K}_q(\mathbf{A}, \mathbf{r}_0))\,\mathbf{r}_0, for every square \mathbf{A}. It minimises the residual over \mathbf{x}_0 + \mathcal{K}_q, its residual is (\mathbf{I} - \mathbf{P}_{\mathbf{A}\mathbf{K}_q})\mathbf{r}_0 = p(\mathbf{A})\mathbf{r}_0 for a residual polynomial p, it beats every residual polynomial, and it terminates at the grade. MINRES is the Hermitian case, with its bounds in NLAlib.Krylov.LinearSystems.MINRES; the Arnoldi realisation is in NLAlib.Krylov.LinearSystems.GMRESArnoldi.

Residual norms are the Euclidean ‖WithLp.toLp 2 _‖, unsquared. Polynomials are over \Bbbk, since the eigenvalues of a general \mathbf{A} are complex; a real matrix with complex eigenvalues is moved to \mathbb{C} by complexify before the diagonalisable bound applies.

Main definitions

* NLAlib.gmresIterate.

Main results

* NLAlib.HasOrthonormalCols.gmresIterate_eq: the frame form. * NLAlib.sub_mulVec_gmresIterate: the residual is a projection residual. * NLAlib.isMinOn_gmresIterate: residual optimality over \mathbf{x}_0 + \mathcal{K}_q. * NLAlib.eq_gmresIterate_of_conjTranspose_mul_krylovMatrix_mulVec_sub_eq_zero: the Petrov–Galerkin characterisation. * NLAlib.norm_sub_mulVec_gmresIterate_succ_le: the residual norms do not increase. * NLAlib.exists_sub_mulVec_gmresIterate_eq_aeval: the residual polynomial. * NLAlib.norm_sub_mulVec_gmresIterate_le_norm_aeval_mulVec: GMRES beats every residual polynomial. * NLAlib.gmresIterate_eq_of_krylovGrade_le: finite termination. * NLAlib.norm_sub_mulVec_gmresIterate_le_pseudoConditionNumber_mul: the bound for diagonalisable \mathbf{A}. * NLAlib.norm_sub_mulVec_gmresIterate_le_sqrt_one_sub_sq_pow: the field-of-values bound.

Declarations