Diagonal Matrix<T>.Get Determinant Method
Calculates the determinant of this matrix.
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
The determinant of the DenseMatrix<T>.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public override T GetDeterminant()
Return Value
TThe determinant of the DenseMatrix<T>.
Remarks
For a diagonal matrix, the determinant is the product of the diagonal elements.
Exceptions
Dimension | The matrix is not square. |