Dew MtxVec NET
TMtx.Determinant Methods
Summary
Determinant of squared matrix.

Class
TMtx

Declaration
Procedure Determinant(out Result: TCplx; MtxType: TMtxType = mtGeneral);

Description
Calculates the determinant of squared complex matrix and returns the result in Result complex variable. An exception is raised if the calling matrix Complex property is false.
Declaration
Function Determinant(MtxType: TMtxType = mtGeneral): TSample;

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

Example 1

var A: TMtx; b: TSample; 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 2008 Dew Research
http://www.dewresearch.com