How to make a given matrix diagonally dominant in c++?

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.

Leave a Comment