LU Decomposition
Factor a matrix as L U with partial pivoting
Factor a matrix as L U with partial pivoting
L is unit lower-triangular (1s on the diagonal) and U is upper-triangular. Multiplying L · U reproduces the row-permuted matrix P · A, which confirms the factorization.