Compute the PA = LU Factorization of a square matrix with various pivoting strategies.
Essential for solving linear systems, computing determinants, and matrix inversion.
For a square matrix $A$, the LU factorization with pivoting is:
$$ PA = LU $$
Components:
Pivoting Strategies:
Used to solve $Ax = b$ by solving $Ly = Pb$ then $Ux = y$ (both triangular systems).