![]() ![]() #LnormInf corresponds to the absolute value of the greatest element of the vector. Print ("The solution vector in iteration", iter1, "is:", x) The method in (6.49) is commonly referred to as the successive over relaxation method when >1 or simply abbreviated to the SOR method. ![]() def gauss_seidel(A, b, tolerance, max_iterations, x): Instead I created my own little function that with the help of a permutation matrix as seen in another answer of mine permutation matrix will produce the solution (x vector) for any square matrix, including those with zeros on the diagonal. Python Programming - Gauss Seidel Method Linear Algebra Sanjaya Ariyawansa 1.55K subscribers Subscribe Like Share 11K views 2 years ago SRI LANKA Python GaussSeidelMethod This looks. I know this is old but, I haven't found any pre existing library in python for gauss - seidel. gaussseidel.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |