VectorInt.NotEqual Operator

Overload List

#SignatureDescription
1class operator NotEqual(const Left: TMtxVecInt; const Right: VectorInt): Boolean;Returns true, if Left and Right do not have equal Length and Values.
2class operator NotEqual(const Left: VectorInt; const Right: TMtxVecInt): Boolean;Returns true, if Left and Right do not have equal Length and Values.
3class operator NotEqual(const Left: VectorInt; const Right: VectorInt): Boolean;Returns true, if Left and Right are not equal.
4class operator NotEqual(const Left: VectorInt; const Right: Integer): Boolean;Returns true, if any elements of Left are not equal to Right.
5class operator NotEqual(const Left: Integer; const Right: VectorInt): Boolean;Returns true, if any elements of Right are not equal to Left.

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

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

#NameTypeDescription
1LeftTMtxVecIntsource TVecInt or TMtxInt
2RightVectorInt

Returns: Boolean

Overload 2: class operator NotEqual(const Left: VectorInt; const Right: TMtxVecInt): Boolean;

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

#NameTypeDescription
1LeftVectorInt
2RightTMtxVecIntsource TVecInt or TMtxInt

Returns: Boolean

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

Returns true, if Left and Right are not equal.

#NameTypeDescription
1LeftVectorInt
2RightVectorInt

Returns: Boolean

Remarks:

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

var a,b: VectorInt;
begin
    a := VectorInt(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 4: class operator NotEqual(const Left: VectorInt; const Right: Integer): Boolean;

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

#NameTypeDescription
1LeftVectorInt
2RightInteger

Returns: Boolean

Overload 5: class operator NotEqual(const Left: Integer; const Right: VectorInt): Boolean;

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

#NameTypeDescription
1LeftInteger
2RightVectorInt

Returns: Boolean