The LU decomposition with pivoting is the factorization of a matrix into an lower-triangular matrix and an upper-triangular matrix with a permutation matrix applied to
The permutation matrix is crucial to suppressing accumulation of rounding errors in the computation. It's so important that nobody ever uses LU decomp without pivoting (A=LU) in practice.
Here a links to a few good online resources for the LU decomposition