Performs the LU factorization of a complex, square matrix A. Details
![]() |
A is a square, complex matrix. |
![]() |
L is a complex, lower triangular matrix. |
![]() |
U is a complex, upper triangular matrix. |
![]() |
P is a permutation matrix. |
![]() |
error returns any error or warning condition from the VI. |
LU factorization factors the square matrix A into two triangular matrices; one is a lower triangular matrix L with ones on the diagonal, and the other is an upper triangular matrix U, so that
PA = LU
where P is a permutation matrix, which consists of the identity matrix with some rows exchanged.
Factorization is the key step for inverting a matrix, computing the determinant of a matrix, and solving a linear equation.