MatrixTests GetDeterminant Method Delta Engine Documentation

Namespace: DeltaEngine.Tests.Datatypes
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void GetDeterminant()
Examples

[Test]
public void IdentityHasDeterminantOne()
{
    Assert.AreEqual(1, Matrix.Identity.GetDeterminant());
}
[Test]
public void GetDeterminant()
{
    matrix = new Matrix(1, 0, 0, 0, 0, 1, 2, 1, 0, 2, 1, 3, 0, 2, 1, 1);
    Assert.AreEqual(6, matrix.GetDeterminant());
}
See Also