Overload List
| # | Signature | Description |
|---|---|---|
| 1 | bool operator==(const Vector &Left, const Vector &Right); | Returns true, if Left and Right are of equal Length and Values. |
| 2 | bool operator==(const Vector &Left, double Right); | Returns true, if all elements of Left are equal to Right. |
| 3 | bool operator==(double Left, const Vector &Right); | Returns true, if all elements of Right are equal to Left. |
| 4 | bool operator==(const Vector &Left, const TCplx &Right); | Returns true, if all elements of Left are equal to Right. |
| 5 | bool operator==(const TCplx &Left, const Vector &Right); | Returns true, if all elements of Right are equal to Left. |
| 6 | bool operator==(TMtxVec *Left, const Vector &Right); | Returns true, if Left and Right are of equal Length and Values. |
| 7 | bool operator==(TVec *Left, const Vector &Right); | Returns true, if Left and Right are of equal Length and Values. |
| 8 | bool operator==(const Vector &Left, TMtxVec *Right); | Returns true, if Left and Right are of equal Length and Values. |
| 9 | bool operator==(const Vector &Left, TVec *Right); | Returns true, if Left and Right are of equal Length and Values. |
| 10 | bool operator==(const Vector &Left, const Matrix &Right); | Returns true, if Left and Right are of equal Length and Values. |
Overload 1: bool operator==(const Vector &Left, const Vector &Right);
Returns true, if Left and Right are of equal Length and Values.
Remarks:
var a,b: Vector;
c: TDoubleArray;
begin
c := TDoubleArray.Create(1,1,1,1,1);
TVec(a).CopyFromArray(c);
TVec(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: TVec::Equal, TMtxVec::IsEqual
Declared in Dew::Math · Dew.Math/MtxExpr.h · Cross-compiler
Overload 2: bool operator==(const Vector &Left, double Right);
Returns true, if all elements of Left are equal to Right.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Left | const Vector & | |
| 2 | Right | double |
Declared in Dew::Math · Dew.Math/MtxExpr.h · Cross-compiler
Overload 3: bool operator==(double Left, const Vector &Right);
Returns true, if all elements of Right are equal to Left.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Left | double | |
| 2 | Right | const Vector & |
Declared in Dew::Math · Dew.Math/MtxExpr.h · Cross-compiler
Overload 4: bool operator==(const Vector &Left, const TCplx &Right);
Returns true, if all elements of Left are equal to Right.
Declared in Dew::Math · Dew.Math/MtxExpr.h · Cross-compiler
Overload 5: bool operator==(const TCplx &Left, const Vector &Right);
Returns true, if all elements of Right are equal to Left.
Declared in Dew::Math · Dew.Math/MtxExpr.h · Cross-compiler
Overload 6: bool operator==(TMtxVec *Left, const Vector &Right);
Returns true, if Left and Right are of equal Length and Values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Left | TMtxVec * | |
| 2 | Right | const Vector & |
Declared in Dew::Math · Dew.Math/MtxExpr.h · Cross-compiler
Overload 7: bool operator==(TVec *Left, const Vector &Right);
Returns true, if Left and Right are of equal Length and Values.
Declared in Dew::Math · Dew.Math/MtxExpr.h · Cross-compiler
Overload 8: bool operator==(const Vector &Left, TMtxVec *Right);
Returns true, if Left and Right are of equal Length and Values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Left | const Vector & | |
| 2 | Right | TMtxVec * |
Declared in Dew::Math · Dew.Math/MtxExpr.h · Cross-compiler
Overload 9: bool operator==(const Vector &Left, TVec *Right);
Returns true, if Left and Right are of equal Length and Values.
Declared in Dew::Math · Dew.Math/MtxExpr.h · Cross-compiler