Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function IsEqual(Value: TCplx): Boolean; | Compares complex Value with all calling object elements. |
| 2 | function IsEqual(Value: TCplx; Tolerance: Double; Compare: TCompare): Boolean; | Compares complex Value with all calling object elements with Compare method and specified Tolerance. |
| 3 | function IsEqual(const Vec: TMtxVec): Boolean; | Compares two objects and returns True, if they are equal. |
| └ indexed: function IsEqual(const Vec: TMtxVec; VecIndex: Integer; Index: Integer; Len: Integer): Boolean; | ||
| 4 | function IsEqual(const Vec: TMtxVec; Precision: Double; Compare: TCompare): Boolean; | Compares Vec elements with coresponding calling object elements. |
| └ indexed: function IsEqual(const Vec: TMtxVec; VecIndex: Integer; Index: Integer; Len: Integer; Precision: Double; Compare: TCompare): Boolean; | ||
| 5 | function IsEqual(Value: Double): Boolean; | Compares real Value with all calling object elements. |
| 6 | function IsEqual(Value: Double; Tolerance: Double; Compare: TCompare): Boolean; | Compares real Value with all calling object elements with Compare method and specified Tolerance. |
Overload 1: function IsEqual(Value: TCplx): Boolean;
Compares complex Value with all calling object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx | scalar |
Returns: Boolean
Overload 2: function IsEqual(Value: TCplx; Tolerance: Double; Compare: TCompare): Boolean;
Compares complex Value with all calling object elements with Compare method and specified Tolerance.
Returns: Boolean
Overload 3: function IsEqual(const Vec: TMtxVec): Boolean;
Compares two objects and returns True, if they are equal.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec |
Returns: Boolean
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 Matrix.Complex and Matrix.Length properties and coresponding values. To compare matrices or sparse matrices, use the Matrix.Equal method.
Indexed: function IsEqual(const Vec: TMtxVec; VecIndex: Integer; Index: Integer; Len: Integer): Boolean;
Compares Vec elements [VecIndex]..[VecIndex+Len-1] with calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec | |
| 2 | VecIndex | Integer | |
| 3 | Index | Integer | start index |
| 4 | Len | Integer | element count |
Returns: Boolean
Overload 4: function IsEqual(const Vec: TMtxVec; Precision: Double; Compare: TCompare): Boolean;
Compares Vec elements with coresponding calling object elements.
Returns: Boolean
Use Compare method and specified Precision.
Indexed: function IsEqual(const Vec: TMtxVec; VecIndex: Integer; Index: Integer; Len: Integer; Precision: Double; Compare: TCompare): Boolean;
Compares Vec elements [VecIndex]..[VecIndex+Len-1] with calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec | |
| 2 | VecIndex | Integer | |
| 3 | Index | Integer | start index |
| 4 | Len | Integer | element count |
| 5 | Precision | Double | scalar |
| 6 | Compare | TCompare |
Returns: Boolean
Use Compare method and specified Precision.
Overload 5: function IsEqual(Value: Double): Boolean;
Compares real Value with all calling object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Double | scalar |
Returns: Boolean
Overload 6: function IsEqual(Value: Double; Tolerance: Double; Compare: TCompare): Boolean;
Compares real Value with all calling object elements with Compare method and specified Tolerance.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Double | scalar |
| 2 | Tolerance | Double | scalar |
| 3 | Compare | TCompare |
Returns: Boolean