Overload List
| # | Signature | Description |
|---|---|---|
| 1 | bool Equal(TMtx *Mtx, double Tolerance = 0) const; | Compares two matrices. |
| 2 | bool Equal(TMtx *Mtx, double Tolerance, TCompare Compare) const; | Allows to specify the comparison method via the Compare parameter. |
Overload 1: bool Equal(TMtx *Mtx, double Tolerance = 0) const;
Compares two matrices.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Mtx | TMtx * | |
| 2 | Tolerance = 0 | double |
Remarks:
Compares Mtx with the calling matrix and returns true if the matrices are equal (if all elements match in position and value). Tolerance defines the comparison tolerance. The maximum difference between elements may not exceed: +/-Tolerance. If Tolerance is omitted, a direct comparison algorithm is used.
Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler