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.4
C#
The determinant of the DenseMatrix<T>.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
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. |