Overload List
| # | Signature | Description |
|---|---|---|
| 1 | bool IsEqual(TMtxVec *Vec) const; | Compares two objects and returns True, if they are equal. |
| 2 | bool IsEqual(TMtxVec *Vec, int VecIndex, int Index, int Len) const; | Compares Vec elements [VecIndex]..[VecIndex+Len-1] with calling object elements [Index]..[Index+Len-1]. |
| 3 | bool IsEqual(TMtxVec *Vec, double Precision, TCompare Compare = TCompare::cmpAbsolute) const; | Compares Vec elements with coresponding calling object elements with Compare method and specified Precision. |
| 4 | bool IsEqual(TMtxVec *Vec, int VecIndex, int Index, int Len, double Precision, TCompare Compare = TCompare::cmpAbsolute) const; | Compares Vec elements [VecIndex]..[VecIndex+Len-1] with calling object elements [Index]..[Index+Len-1] with Compare method and specified Precision. |
| 5 | bool IsEqual(TCplx Value) const; | Compares complex Value with all calling object elements. |
| 6 | bool IsEqual(double Value) const; | Compares real Value with all calling object elements. |
| 7 | bool IsEqual(double Value, double Tolerance, TCompare Compare) const; | Compares real Value with all calling object elements with Compare method and specified Tolerance. |
| 8 | bool IsEqual(TCplx Value, double Tolerance, TCompare Compare) const; | Compares complex Value with all calling object elements with Compare method and specified Tolerance. |
Overload 1: bool IsEqual(TMtxVec *Vec) const;
Compares two objects and returns True, if they are equal.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * |
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 Vector::Complex and Vector::Length properties and coresponding values. To compare matrices or sparse matrices, use the Equal method.
Overload 2: bool IsEqual(TMtxVec *Vec, int VecIndex, int Index, int Len) const;
Compares Vec elements [VecIndex]..[VecIndex+Len-1] with calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * | |
| 2 | VecIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
Overload 3: bool IsEqual(TMtxVec *Vec, double Precision, TCompare Compare = TCompare::cmpAbsolute) const;
Compares Vec elements with coresponding calling object elements with Compare method and specified Precision.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * | |
| 2 | Precision | double | |
| 3 | Compare = TCompare::cmpAbsolute | TCompare |
Overload 4: bool IsEqual(TMtxVec *Vec, int VecIndex, int Index, int Len, double Precision, TCompare Compare = TCompare::cmpAbsolute) const;
Compares Vec elements [VecIndex]..[VecIndex+Len-1] with calling object elements [Index]..[Index+Len-1] with Compare method and specified Precision.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * | |
| 2 | VecIndex | int | |
| 3 | Index | int | |
| 4 | Len | int | |
| 5 | Precision | double | |
| 6 | Compare = TCompare::cmpAbsolute | TCompare |
Overload 5: bool IsEqual(TCplx Value) const;
Compares complex Value with all calling object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx |
Overload 6: bool IsEqual(double Value) const;
Compares real Value with all calling object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | double |
Overload 7: bool IsEqual(double Value, double Tolerance, TCompare Compare) const;
Compares real Value with all calling object elements with Compare method and specified Tolerance.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | double | |
| 2 | Tolerance | double | |
| 3 | Compare | TCompare |