Overload List
Overload 1: function Equal(const A,B: TCplx): boolean; overload;
Compares two numbers.
Returns: boolean - true, if complex A and B are binary equal.
Overload 2: function Equal(const A,B: TCplx; const Tolerance: double): boolean; overload;
Compares two numbers.
Returns: boolean - true, if A and B are equal within a given Tolerance: (abs(A.Re - B.Re) <= Tolerance) and (abs(A.Im - B.Im) <= Tolerance)
Overload 3: function Equal(const A: TCplx; const B: double): boolean; overload;
Compares two numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | TCplx | scalar |
| 2 | B | double | scalar |
Returns: boolean - true, if A and B are equal.
Overload 4: function Equal(const A,B: TSCplx): boolean; overload;
Overload 5: function Equal(const A,B: TSCplx; const Tolerance: single): boolean; overload;
Overload 6: function Equal(const A: TSCplx; const B: single): boolean; overload;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | TSCplx | scalar |
| 2 | B | single | scalar |
Returns: boolean
Overload 7: function Equal(const A: double; const B: TCplx): boolean; overload;
Compares two numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | double | scalar |
| 2 | B | TCplx | scalar |
Returns: boolean - true, if A and B are equal.
Overload 8: function Equal(const A, B: double): boolean; overload;
Compares two numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | double | scalar |
| 2 | B | double | scalar |
Returns: boolean - True if both A and B are binary equal.
Overload 9: function Equal(const A, B: double; const Tol: double): boolean; overload;
Compares two numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | double | scalar |
| 2 | B | double | scalar |
| 3 | Tol | double | scalar |
Returns: boolean - Returns true, if A and B are equal within a given Tolerance. result := (abs(A-B) <= Tol);
Overload 10: function Equal(const A: single; const B: TSCplx): boolean; overload;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | single | scalar |
| 2 | B | TSCplx | scalar |
Returns: boolean
Overload 11: function Equalf(const A, B: single): boolean; overload;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | single | scalar |
| 2 | B | single | scalar |
Returns: boolean
Overload 12: function Equalf(const A, B: single; const Tol: single): boolean; overload;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | single | scalar |
| 2 | B | single | scalar |
| 3 | Tol | single | scalar |
Returns: boolean