2. Gaussian Elimination
The trivial pivoting strategy is as follows.
If , do not switch rows. If , locate the first row below row p in which
and switch rows k and p. This will result in a new element , which is a nonzero pivot element. Usually, the larger pivot element will result in a smaller error being propagated.