Matrix.Determinant Method

function Determinant(MtxType: TMtxType): Double;

Determinant of squared matrix.

#NameTypeDescription
1MtxTypeTMtxType

Returns: Double

Remarks:

Calculate the determinant of squared real matrix. An exception is raised if the calling matrix Matrix.Complex property is true.

Examples
var A: Matrix;
    b: double;
begin
    A.SetIt(2,2,false,[1,2,
        2,4]);  // 2x2, not complex matrix
    b := A.Determinant; // 4 + 4 = 8
end;