DiagonalMatrix<T>.GetDeterminant Method

Calculates the determinant of this matrix.

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public override T GetDeterminant()

Return Value

T
The determinant of the DenseMatrix<T>.

Remarks

For a diagonal matrix, the determinant is the product of the diagonal elements.

Exceptions

DimensionMismatchExceptionThe matrix is not square.

See Also