-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gauss-Seidel #45
Comments
@Xincheng-Qiu . Equation (16.3) in the lab is written in exactly the same way as in Judd (1998, p. 72) equation (3.6.3). The only difference is in how the indices over which the terms are summed are expressed (but they are the same). Below is the specification in Judd (1998, p. 72) equation (3.6.3). I think the equation above is the correct specification of the Gauss-Seidel algorithm. Or at least, your issue with the Judd (1998, p. 71) specifies the Gauss-Jacobi algorithm in equation (3.6.2). The reference for Judd (1998) is the following. Kenneth L. Judd, Numerical Methods in Economics, MIT Press, 1998. |
@rickecon I think Judd (1998, p. 72) equation (3.6.3) is the same as my specification above. Equation (16.3) in the lab (see below), however, specifies the (k+1)-th iteration term (mistakenly) as the k-th iteration term. |
@rickecon Ah I guess I didn't express it clearly in my first post. The equation in my first post is the correct one, not the wrong expression in the lab file. |
I think there is a typo in equation (16.3) for the Gauss-Seidel method in IterativeSolvers.pdf. The x-values of the second term in the brackets should be from the (k+1)-th iteration.
The current expression is actually the Jacobi method and so is equation (16.4) too.
The text was updated successfully, but these errors were encountered: