NLAlib.pminresIterate
Library · def
The preconditioned MINRES iterate after q steps from \mathbf{x}_0, with preconditioner \mathbf{M} applied as \mathbf{M} and \mathbf{r}_0 = \mathbf{b} - \mathbf{A}\mathbf{x}_0: \mathsf{pminresIterate}(\mathbf{A}, \mathbf{M}, \mathbf{b}, \mathbf{x}_0, q) := \mathbf{x}_0 + \mathsf{galerkinInverse}(\mathbf{A}^{\mathsf{H}}\mathbf{M}\mathbf{A}, \mathbf{K}_q(\mathbf{M}\mathbf{A}, \mathbf{M}\mathbf{r}_0))\,\mathbf{A}^{\mathsf{H}}\mathbf{M}\mathbf{r}_0. For positive definite \mathbf{M} it minimises \|\mathbf{b} - \mathbf{A}\mathbf{y}\|_{\mathbf{M}} over \mathbf{x}_0 + \mathcal{K}_q(\mathbf{M}\mathbf{A}, \mathbf{M}\mathbf{r}_0) (Matrix.PosDef.isMinOn_pminresIterate); the method is meant for Hermitian \mathbf{A}, the definition is total. The preconditioned Lanczos recurrence with a small least-squares problem computes it (Matrix.IsHermitian.pminresIterate_eq_preconditionedLanczosMatrix), and so does the Paige–Saunders recurrence (Matrix.IsHermitian.minresState_x_eq). For singular \mathbf{A} the minimiser is not unique and the definition picks the correction of least Euclidean norm, while the split form picks least \mathbf{M}^{-1}-norm; the two agree for invertible \mathbf{A}, which is why pminresIterate_eq_mulVec_gmresIterate assumes it. [ElmanSilvesterWathen2014, §4.2]; [Greenbaum1997, §8.2]; locators to verify.
NLAlib.pminresIterate.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} [Fintype n]
[DecidableEq n] (A M : Matrix n n 𝕜) (b x₀ : n → 𝕜) (q : ℕ) : n → 𝕜Import NLAlib.Krylov.LinearSystems.MINRES.