Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function IsEqual(const Value: TCplx): boolean; overload; | Compares complex Value with all calling object elements. |
| 2 | function IsEqual(const Value: TCplx; const Tolerance: double; const Compare: TCompare): boolean; overload; | Compares complex Value with all calling object elements. |
| 3 | function IsEqual(const Vec: TMtxVec): boolean; overload; | Compares two objects. |
| └ indexed: function IsEqual(const Vec: TMtxVec; VecIndex, Index, Len: integer): boolean; overload; | ||
| 4 | function IsEqual(const Vec: TMtxVec; const Precision: double; const Compare: TCompare = cmpAbsolute): boolean; overload; | Compares Vec elements with coresponding calling object elements. |
| └ indexed: function IsEqual(const Vec: TMtxVec; VecIndex, Index, Len: integer; const Precision: double; const Compare: TCompare = cmpAbsolute): boolean; overload; | ||
| 5 | function IsEqual(const Value: double): boolean; overload; | Compares real Value with all calling object elements. |
| 6 | function IsEqual(const Value: double; const Tolerance: double; const Compare: TCompare): boolean; overload; | Compares real Value with all calling object elements. |
Overload 1: function IsEqual(const Value: TCplx): boolean; overload;
Compares complex Value with all calling object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx | scalar |
Returns: boolean
Overload 2: function IsEqual(const Value: TCplx; const Tolerance: double; const Compare: TCompare): boolean; overload;
Compares complex Value with all calling object elements.
Returns: boolean
Algorithm uses the Compare method and specified Tolerance.
Overload 3: function IsEqual(const Vec: TMtxVec): boolean; overload;
Compares two objects.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec | source TVec or TMtx |
Returns: boolean - True, if they are equal.
Compares two objects and returns True, if they are equal. The IsEqual uses cmpAbsolute comparison method with comparison tolerance of 10*EPS by default.
The method compares only TMtxVec.Complex and TMtxVecBase.Length properties and coresponding values. To compare matrices or sparse matrices, use the Math387.Equal method.
Indexed: function IsEqual(const Vec: TMtxVec; VecIndex, Index, Len: integer): boolean; overload;
Compares Vec elements [VecIndex]..[VecIndex+Len-1] with calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec | source TVec or TMtx |
| 2 | VecIndex | integer | |
| 3 | Index | integer | start index |
| 4 | Len | integer | element count |
Returns: boolean
Overload 4: function IsEqual(const Vec: TMtxVec; const Precision: double; const Compare: TCompare = cmpAbsolute): boolean; overload;
Compares Vec elements with coresponding calling object elements.
Returns: boolean
Method uses comparison algorithm specified by TMtxVec.Precision property.
Indexed: function IsEqual(const Vec: TMtxVec; VecIndex, Index, Len: integer; const Precision: double; const Compare: TCompare = cmpAbsolute): boolean; overload;
Compares Vec elements [VecIndex]..[VecIndex+Len-1] with calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec | source TVec or TMtx |
| 2 | VecIndex | integer | |
| 3 | Index | integer | start index |
| 4 | Len | integer | element count |
| 5 | Precision | double | scalar |
| 6 | Compare | TCompare |
Returns: boolean
Algorithm uses the Compare type and specified Precision.
Overload 5: function IsEqual(const Value: double): boolean; overload;
Compares real Value with all calling object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | double | scalar |
Returns: boolean
Overload 6: function IsEqual(const Value: double; const Tolerance: double; const Compare: TCompare): boolean; overload;
Compares real Value with all calling object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | double | scalar |
| 2 | Tolerance | double | scalar |
| 3 | Compare | TCompare |
Returns: boolean
Algorithm uses the Compare method and specified Tolerance.