Linear Algebra and the C Language/a085

Gauss-Jordan Partial Pivoting (PP)

In this algorithm the pivot chosen is the largest absolute value found in a column. For this we perform column exchanges.

Gaussian elimination, is an algorithm for solving systems of linear equations... Wikipedia: Gaussian elimination

The function: gj_PP_mR();

Solve: This system works with partial pivoting and total pivoting:

Solve: This system does not works with total pivoting: (Second pivot shifted to the right)

Solve: Singular matrix, but compatible system:

Solve: Singular matrix, but incompatible system: