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:
- Two equal rows with the same values of b.
- Random values
- Choose your values
Solve: Singular matrix, but incompatible system:
- Two equal rows with different values of b.
- Random values
- Choose your values