Finds the determinant of a complex, square matrix, Input Matrix. Details
![]() |
Input Matrix must be a square complex matrix. | ||||||||
![]() |
matrix type is the type of Input Matrix. Knowing the type of Input Matrix can speed up the computation of the determinant and can help you to avoid unnecessary computation, which could introduce numerical inaccuracy. matrix type has four possible options.
|
||||||||
![]() |
determinant is a scalar value. The determinant of a singular matrix is zero. This is a valid result and is not an error, that is, |A| = 0.0 if A is singular. | ||||||||
![]() |
error returns any error or warning condition from the VI. |
Let A denote a square matrix that represents the Input Matrix, and let L and U be the lower and upper triangular matrices, respectively, of A such that
A = LU
where the main diagonal elements of the lower triangular matrix L are arbitrarily set to one. The VI finds the determinant of A by the product of the main diagonal elements of the upper triangular matrix U:
where |A| is the determinant of A and n is the dimension of A.