LUDecomposition<T>.Get Determinant Method
Calculates the determinant of the decomposed
matrix.
Definition
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The determinant of the matrix.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public override T GetDeterminant()
Return Value
TThe determinant of the matrix.
Remarks
A system of simultaneous linear equations has a unique solution if its determinant is not equal to zero.
Determinants are only defined for square matrices. If the matrix is not square, an exception of type DimensionMismatchException is thrown.
For a LU factorized matrix PA = LU, the determinant is the product of the diagonal elements of U. Since L is defined to be unit triangular, so the product of its diagonal elements equals 1.
Exceptions
Dimension | The matrix is not square. |