MatrixInt.NotEqual Operator

Overload List

#SignatureDescription
1class operator NotEqual(const Left: MatrixInt; const Right: MatrixInt): Boolean;Returns true, if Left and Right are not equal.
2class operator NotEqual(const Left: MatrixInt; const Right: TMtxInt): Boolean;Returns true, if Left and Right do not have equal Rows, Cols, IntPrecision and Values.
3class operator NotEqual(const Left: MatrixInt; const Right: TVecInt): Boolean;Returns true, if Left and Right do not have equal Length, IntPrecision and Values.
4class operator NotEqual(const Left: MatrixInt; const Right: Integer): Boolean;Returns true, if any elements of Left are not equal to Right.
5class operator NotEqual(const Left: TMtxInt; const Right: MatrixInt): Boolean;Returns true, if Left and Right do not have equal Rows, Cols, IntPrecision and Values.
6class operator NotEqual(const Left: TVecInt; const Right: MatrixInt): Boolean;Returns true, if Left and Right do not have equal Length, IntPrecision and Values.
7class operator NotEqual(const Left: Integer; const Right: MatrixInt): Boolean;Returns true, if any elements of Right are not equal to Left.

Overload 1: class operator NotEqual(const Left: MatrixInt; const Right: MatrixInt): Boolean;

Returns true, if Left and Right are not equal.

#NameTypeDescription
1LeftMatrixInt
2RightMatrixInt

Returns: Boolean

Remarks:

Returns true, if Left and Right do not have equal Length and Values.

var a,b: MatrixInt;
begin
    a := MatrixInt(TIntegerArray.Create(1,1,1,1,1));
    if a <> b then ERaise('a and b are not equal!');

    if a <> 1 then ERaise('a does not equals 1!');   //compare to integer value
end;
See Also: TMtxVecInt.IsEqual

Overload 2: class operator NotEqual(const Left: MatrixInt; const Right: TMtxInt): Boolean;

Returns true, if Left and Right do not have equal Rows, Cols, IntPrecision and Values.

#NameTypeDescription
1LeftMatrixInt
2RightTMtxIntsource TMtxInt

Returns: Boolean

Overload 3: class operator NotEqual(const Left: MatrixInt; const Right: TVecInt): Boolean;

Returns true, if Left and Right do not have equal Length, IntPrecision and Values.

#NameTypeDescription
1LeftMatrixInt
2RightTVecIntsource TVecInt

Returns: Boolean

Overload 4: class operator NotEqual(const Left: MatrixInt; const Right: Integer): Boolean;

Returns true, if any elements of Left are not equal to Right.

#NameTypeDescription
1LeftMatrixInt
2RightInteger

Returns: Boolean

Overload 5: class operator NotEqual(const Left: TMtxInt; const Right: MatrixInt): Boolean;

Returns true, if Left and Right do not have equal Rows, Cols, IntPrecision and Values.

#NameTypeDescription
1LeftTMtxIntsource TMtxInt
2RightMatrixInt

Returns: Boolean

Overload 6: class operator NotEqual(const Left: TVecInt; const Right: MatrixInt): Boolean;

Returns true, if Left and Right do not have equal Length, IntPrecision and Values.

#NameTypeDescription
1LeftTVecIntsource TVecInt
2RightMatrixInt

Returns: Boolean

Overload 7: class operator NotEqual(const Left: Integer; const Right: MatrixInt): Boolean;

Returns true, if any elements of Right are not equal to Left.

#NameTypeDescription
1LeftInteger
2RightMatrixInt

Returns: Boolean