Re: Matrix Determinant
Posted: Mon Sep 10, 2018 12:31 pm
Indirectly, yes. While useful as a theoretical tool, the determinant is rarely useful for computational purposes. E.g., for solving systems, Cramer's rule is very expensive compared to LU factorization (getrf). Given
det(AB) = det(A) det(B)
and for a lower or upper triangular matrix T, det(T) is the product of its diagonal entries, you can compute the determinant by doing an LU factorization (getrf), then multiplying the diagonal entries of U. det(A) = det(LU) = det(U). The diagonal entries of L are 1, so det(L) = 1.
-mark
det(AB) = det(A) det(B)
and for a lower or upper triangular matrix T, det(T) is the product of its diagonal entries, you can compute the determinant by doing an LU factorization (getrf), then multiplying the diagonal entries of U. det(A) = det(LU) = det(U). The diagonal entries of L are 1, so det(L) = 1.
-mark