Overload List
| # | Signature | Description |
|---|---|---|
| 1 | Boolean op_Equality(MatrixInt Left, MatrixInt Right) | Returns true, if Left and Right are of equal Length and Values. |
| 2 | Boolean op_Equality(MatrixInt Left, TMtxInt Right) | Returns true, if Left and Right have equal Rows, Cols, IntPrecision and Values. |
| 3 | Boolean op_Equality(MatrixInt Left, TVecInt Right) | Returns true, if Left and Right are of equal Length, IntPrecision and Values. |
| 4 | Boolean op_Equality(MatrixInt Left, Int32 Right) | Returns true, if all elements of Left are equal to Right. |
| 5 | Boolean op_Equality(TMtxInt Left, MatrixInt Right) | Returns true, if Left and Right have equal Rows, Cols, IntPrecision and Values. |
| 6 | Boolean op_Equality(TVecInt Left, MatrixInt Right) | Returns true, if Left and Right are of equal Length, IntPrecision and Values. |
| 7 | Boolean op_Equality(Int32 Left, MatrixInt Right) | Returns true, if all elements of Right are equal to Left. |
Overload 1: Boolean op_Equality(MatrixInt Left, MatrixInt Right)
Returns true, if Left and Right are of equal Length and Values.
Returns: Boolean
Remarks:
var a,b: MatrixInt;
c: TDoubleArray;
begin
c := TDoubleArray.Create(1,1,1,1,1,0);
a.Size(3,3);
a.CopyFromArray(c);
b.Copy(a);
if a = b then ERaise('a and b are equal!');
if a = 1 then ERaise('a equals 1!'); //compare to real value
end;See Also: TMtxVecInt.IsEqual
Overload 2: Boolean op_Equality(MatrixInt Left, TMtxInt Right)
Returns true, if Left and Right have equal Rows, Cols, IntPrecision and Values.
Returns: Boolean
Overload 3: Boolean op_Equality(MatrixInt Left, TVecInt Right)
Returns true, if Left and Right are of equal Length, IntPrecision and Values.
Returns: Boolean
Overload 4: Boolean op_Equality(MatrixInt Left, Int32 Right)
Returns true, if all elements of Left are equal to Right.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Left | MatrixInt | |
| 2 | Right | Int32 |
Returns: Boolean
Overload 5: Boolean op_Equality(TMtxInt Left, MatrixInt Right)
Returns true, if Left and Right have equal Rows, Cols, IntPrecision and Values.
Returns: Boolean
Overload 6: Boolean op_Equality(TVecInt Left, MatrixInt Right)
Returns true, if Left and Right are of equal Length, IntPrecision and Values.
Returns: Boolean
Overload 7: Boolean op_Equality(Int32 Left, MatrixInt Right)
Returns true, if all elements of Right are equal to Left.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Left | Int32 | |
| 2 | Right | MatrixInt |
Returns: Boolean