Hello, I am trying to build a loop that makes a matrix diagnolly dominant (I'm not sure if thats the right term... I mean where the values on the diagnol are from greatest to least... like this
like if I was given this:
2 3 7 8
9 2 3 4
5 9 0 6
3 8 4 3
I would get this:
9 2 3 4
3 8 4 3
2 3...