Home > Extreme Optimization Mathematics Library for .NET > Reference > Extreme.Mathematics.LinearAlgebra Namespace > QRDecomposition Class > Methods
Calculates the determinant of the decomposed Matrix.
Determinants are only defined for square matrices. If the matrix is not square, an exception of type DimensionMismatchException is thrown.
For a QR factorized matrix A = QR, the magnitude of the determinant is the product of the diagonal elements of R. Since Q is orthogonal, its determinant is 1 or -1.
| Exception Type | Condition |
|---|---|
| DimensionMismatchException | The matrix is not square. |
QRDecomposition Class | Extreme.Mathematics.LinearAlgebra Namespace | LinearTransformation