![]() Gaus-seidel (Written by: Manas Sharma - University of Delhi)Äouble a //declare a 2d array for storing the elements of the augmented matrixÄouble x //declare an array to store the values of variablesįor (i=0 i<<"\n-" Äo //Perform iterations to calculate x1,x2.xnįor (i=0 i ![]() ![]() So I wrote this piece of code for solving a system of linear equations using Gauss-Seidelâs Iterative method in the fifth semester of my undergraduate course for my Numerical Analysis Class. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |