Calculates the determinant of the decomposed Matrix.

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Overrides Function GetDeterminant As Double
C#
public override double GetDeterminant ()
C++
public:
virtual double GetDeterminant () override

Return Value

The determinant of the matrix.

Return Value

The 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 an eigenvalue decomposition the magnitude of the determinant is the product of the eigenvalues.

Exceptions

ExceptionCondition
DimensionMismatchExceptionThe matrix is not square.

See Also