function Determinant(MtxType: TMtxType): Double;
Determinant of squared matrix.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | MtxType | TMtxType |
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;