You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TMtx Class > TMtx Methods > Determinant Method > TMtx.Determinant Method (TMtxType)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TMtx.Determinant Method (TMtxType)

Determinant of squared matrix.

Syntax
C#
Visual Basic
public double Determinant(TMtxType MtxType);

Calculate the determinant of squared real matrix. An exception is raised if the calling matrix TMtxVec.ComplexComplexproperty is true.

var A: TMtx; b: double; begin CreateIt(A); try A.SetIt(2,2,false,[1,2, 2,4]); // 2x2, not complex matrix b := A.Determinant; // 4 + 4 = 9 finally FreeIt(A); end; end;
Copyright (c) 1999-2022 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!