Decompose any square matrix into a lower-triangular L and an upper-triangular U such that PA = LU, using partial pivoting — with instant verification.
Works for any square matrix size from 2×2 to 4×4.
Numerically stable PA = LU decomposition even with zero diagonals.
The error between L·U and P·A is computed for every result.
Extra insights straight from the factorization — free of extra work.
Explore matrices and equation solvers.