I had to code a program which calculates Inverse of a matrix by Gauss-Jordan Inverse method , I was trying to analyse the program and then code it myself.
I understand it all except two things -
1) I don't understand how it does the row transformations.
2) While doing the Jordan method why the $j$ loop starts over and ends till last implying we are always pivoting that is moving the largest element up and hence I am unable to see a stable way of doing the left side part of the Augmented matrix to be an Identity matrix.
For reference to Jordan method I am using this link -
Any help is great! Am I leaving something or interpreting in a wrong way?