Overload List
| # | Signature | Description |
|---|---|---|
| 1 | bool operator==(const VectorInt &Left, const VectorInt &Right); | Returns true, if Left and Right are of equal Length and Values. |
| 2 | bool operator==(const VectorInt &Left, const int Right); | Returns true, if all elements of Left are equal to Right. |
| 3 | bool operator==(const int Left, const VectorInt &Right); | Returns true, if all elements of Right are equal to Left. |
| 4 | bool operator==(TMtxVecInt *Left, const VectorInt &Right); | Returns true, if Left and Right are of equal Length and Values. |
| 5 | bool operator==(TVecInt *Left, const VectorInt &Right); | Returns true, if Left and Right are of equal Length and Values. |
| 6 | bool operator==(const VectorInt &Left, TMtxVecInt *Right); | Returns true, if Left and Right are of equal Length and Values. |
| 7 | bool operator==(const VectorInt &Left, TVecInt *Right); | Returns true, if Left and Right are of equal Length and Values. |
| 8 | bool operator==(const VectorInt &Left, const MatrixInt &Right); | Returns true, if Left and Right are of equal Length and Values. |
Overload 1: bool operator==(const VectorInt &Left, const VectorInt &Right);
Returns true, if Left and Right are of equal Length and Values.
Remarks:
var a,b: VectorInt;
c: TDoubleArray;
begin
c := TDoubleArray.Create(1,1,1,1,1);
TVecInt(a).CopyFromArray(c);
TVecInt(a).Copy(b);
if a = b then ERaise('a and b are equal!');
if a = 1 then ERaise('a equals 1!'); //compare to real value
if a = Cplx(1,0) then ERaise('a equals 1!'); //compare to complex value
end;See Also: TMtxVecInt::IsEqual
Declared in Dew::Math · Dew.Math/MtxExprInt.h · Cross-compiler
Overload 2: bool operator==(const VectorInt &Left, const int Right);
Returns true, if all elements of Left are equal to Right.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Left | const VectorInt & | |
| 2 | Right | const int |
Declared in Dew::Math · Dew.Math/MtxExprInt.h · Cross-compiler
Overload 3: bool operator==(const int Left, const VectorInt &Right);
Returns true, if all elements of Right are equal to Left.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Left | const int | |
| 2 | Right | const VectorInt & |
Declared in Dew::Math · Dew.Math/MtxExprInt.h · Cross-compiler
Overload 4: bool operator==(TMtxVecInt *Left, const VectorInt &Right);
Returns true, if Left and Right are of equal Length and Values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Left | TMtxVecInt * | |
| 2 | Right | const VectorInt & |
Declared in Dew::Math · Dew.Math/MtxExprInt.h · Cross-compiler
Overload 5: bool operator==(TVecInt *Left, const VectorInt &Right);
Returns true, if Left and Right are of equal Length and Values.
Declared in Dew::Math · Dew.Math/MtxExprInt.h · Cross-compiler
Overload 6: bool operator==(const VectorInt &Left, TMtxVecInt *Right);
Returns true, if Left and Right are of equal Length and Values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Left | const VectorInt & | |
| 2 | Right | TMtxVecInt * |
Declared in Dew::Math · Dew.Math/MtxExprInt.h · Cross-compiler
Overload 7: bool operator==(const VectorInt &Left, TVecInt *Right);
Returns true, if Left and Right are of equal Length and Values.
Declared in Dew::Math · Dew.Math/MtxExprInt.h · Cross-compiler