PermutationMatrix.GetDeterminant Method

Calculates the determinant of this matrix.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public override double GetDeterminant()

Return Value

Double
The determinant of the matrix.

Remarks

For a permutation matrix, the determinant is always equal to +1 or -1. The sign depends on whether the permutation is even (positive) or not (negative).

See Also