Overload List
Overload 1: class operator Equal(const Left: MatrixInt; const Right: MatrixInt): Boolean;
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: class operator Equal(const Left: MatrixInt; const Right: TMtxInt): Boolean;
Returns true, if Left and Right have equal Rows, Cols, IntPrecision and Values.
Returns: Boolean
Overload 3: class operator Equal(const Left: MatrixInt; const Right: TVecInt): Boolean;
Returns true, if Left and Right are of equal Length, IntPrecision and Values.
Returns: Boolean
Overload 4: class operator Equal(const Left: MatrixInt; const Right: Integer): Boolean;
Returns true, if all elements of Left are equal to Right.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Left | MatrixInt | |
| 2 | Right | Integer |
Returns: Boolean
Overload 5: class operator Equal(const Left: TMtxInt; const Right: MatrixInt): Boolean;
Returns true, if Left and Right have equal Rows, Cols, IntPrecision and Values.
Returns: Boolean
Overload 6: class operator Equal(const Left: TVecInt; const Right: MatrixInt): Boolean;
Returns true, if Left and Right are of equal Length, IntPrecision and Values.
Returns: Boolean
Overload 7: class operator Equal(const Left: Integer; const Right: MatrixInt): Boolean;
Returns true, if all elements of Right are equal to Left.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Left | Integer | |
| 2 | Right | MatrixInt |
Returns: Boolean