Overload List
| # | Signature | Description |
|---|---|---|
| 1 | Boolean op_Equality(TCplx Left, Vector Right) | Returns true, if all elements of Right are equal to Left. |
| 2 | Boolean op_Equality(TMtxVec Left, Vector Right) | Returns true, if Left and Right are of equal Length and Values. |
| 3 | Boolean op_Equality(Vector Left, TCplx Right) | Returns true, if all elements of Left are equal to Right. |
| 4 | Boolean op_Equality(Vector Left, TMtxVec Right) | Returns true, if Left and Right are of equal Length and Values. |
| 5 | Boolean op_Equality(Vector Left, Vector Right) | Returns true, if Left and Right are of equal Length and Values. |
| 6 | Boolean op_Equality(Vector Left, Double Right) | Returns true, if all elements of Left are equal to Right. |
| 7 | Boolean op_Equality(Double Left, Vector Right) | Returns true, if all elements of Right are equal to Left. |
Overload 1: Boolean op_Equality(TCplx Left, Vector Right)
Returns true, if all elements of Right are equal to Left.
Returns: Boolean
Overload 2: Boolean op_Equality(TMtxVec Left, Vector Right)
Returns true, if Left and Right are of equal Length and Values.
Returns: Boolean
Overload 3: Boolean op_Equality(Vector Left, TCplx Right)
Returns true, if all elements of Left are equal to Right.
Returns: Boolean
Overload 4: Boolean op_Equality(Vector Left, TMtxVec Right)
Returns true, if Left and Right are of equal Length and Values.
Returns: Boolean
Overload 5: Boolean op_Equality(Vector Left, Vector Right)
Returns true, if Left and Right are of equal Length and Values.
Returns: Boolean
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
Overload 6: Boolean op_Equality(Vector Left, Double Right)
Returns true, if all elements of Left are equal to Right.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Left | Vector | |
| 2 | Right | Double | scalar |
Returns: Boolean
Overload 7: Boolean op_Equality(Double Left, Vector Right)
Returns true, if all elements of Right are equal to Left.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Left | Double | scalar |
| 2 | Right | Vector |
Returns: Boolean