Matrix.Determinant Method

Double Determinant(TMtxType MtxType)

Determinant of squared matrix.

#NameTypeDescription
1MtxTypeTMtxType

Returns: Double

Remarks:

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

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