From ea23793448806fdb48188cdd21334dc83971960f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustavo=20Esp=C3=ADnola=20Mena?= Date: Wed, 11 Sep 2024 11:43:27 -0400 Subject: [PATCH] DOC: describing the search of new approx solution --- src/gmres_e.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gmres_e.m b/src/gmres_e.m index 25e9036..b19b45f 100644 --- a/src/gmres_e.m +++ b/src/gmres_e.m @@ -305,7 +305,9 @@ gs = g(1:s); minimizer = Rs \ gs; - % Re-write last k vectors??? + % Replace last k vectors from matrix V with the approximate + % eigenvectors, and compute the new approximate solution, as done + % in step 4, p. 1161 of [1]. V(:, m + 1:s) = dy(:, 1:k); x = xm + V * minimizer;