ComplexSingularValueDecomposition<T>.GetDeterminant Method

Calculates the determinant of the decomposed matrix.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
public override Complex<T> GetDeterminant()

Return Value

Complex<T>
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 a singular value decomposition A = USVT, the magnitude of the determinant is the product of the diagonal elements of S. Since U and V are orthogonal, the modulus of their determinant is 1. This means that only the magnitude of the determinant is known.

Exceptions

DimensionMismatchException

The matrix is not square.

See Also