Short answer: Gaussian elimination reduces a matrix to row echelon form by clearing each column under a pivot. Partial pivoting swaps into the pivot row the remaining row with the largest absolute value in that column. With that swap, the algorithm is the standard numerically stable solver for a…
