Now for the Jacobi and Gauss-Seidel methods to work the matrix needs to be diagonally dominant. Any help would be appreciated. Its different than making a matrix diagonal. //Because of the downvotes
Asked
Active
Viewed 1,098 times
-5
-
Possible duplicate of [How do I diagonalize a matrix quickly in C++?](http://stackoverflow.com/questions/19599284/how-do-i-diagonalize-a-matrix-quickly-in-c) – Arnav Borborah Aug 31 '16 at 14:33
-
What is wrong with the code you have now? – Scott Hunter Aug 31 '16 at 14:33
-
@ScottHunter What code? – Arnav Borborah Aug 31 '16 at 14:35
-
1@ArnavBorborah: Exactly my point. – Scott Hunter Aug 31 '16 at 14:37
-
@ScottHunter Ah, point taken – Arnav Borborah Aug 31 '16 at 14:37
-
@ArnavBorborah now that you've taken it, there's no point to answer to. – Adrian Colomitchi Aug 31 '16 at 14:52
-
@AdrianColomitchi What are you implying, (irrelevantly) – Arnav Borborah Aug 31 '16 at 14:53
-
@ArnavBorborah sorry, I might have forgotten a "large grin" emoticon - never mind. – Adrian Colomitchi Aug 31 '16 at 14:59
1 Answers
0
There is really nothing you can do. If matrix don't satisfy conditions of some method, use other methods that can be applied to this matrix.
Remember, in such bad cases you can use Gauss Elimination to solve SLAE.

Semyon Burov
- 1,090
- 1
- 9
- 15