demipaul
- 1
- 0
How would I calculate the determinant of a square matrix using LU Decomposition. Please be plain, I am not good with technical terms. An example would be nice. Thank you!
(Note: A http://planetmath.org/encyclopedia/UnitLowerTriangularMatrix.html" is a triangular matrix with 1's along it's diagonals)The matrices L and U can be used to compute the determinant of the matrix A very quickly, because det(A) = det(L) det(U) and the determinant of a triangular matrix is simply the product of its diagonal entries. In particular, if L is a unit triangular matrix, then
det(A) = det(L)det(U) = 1 \cdot det(U) =\prod^{n}_{i = 1}u_{ii}.