TMtx::DetectMtxType Method

TMtxType DetectMtxType(bool CheckPosDef = false);

Determines type of the matrix.

#NameTypeDescription
1CheckPosDef = falsebool
Remarks:

Tests the calling matrix and returns the TMtxType of the calling of matrix. The following types are supported:

Checking for positive definite matrix can be very expensive (O(n) = 1/3*n^3). Therefore the ChekPosDef parameter is False by default, unless the user specifies otherwise. The method will not detect banded matrix storage.

Declared in Dew::Math::TMtx · Dew.Math/MtxVec.h · Cross-compiler