Vector.NotEqual Operator

Overload List

#SignatureDescription
1class operator NotEqual(const Left: TCplx; const Right: Vector): Boolean;Returns true, if any elements of Right are not equal to Left.
2class operator NotEqual(const Left: TMtxVec; const Right: Vector): Boolean;Returns true, if Left and Right do not have equal Length and Values.
3class operator NotEqual(const Left: Vector; const Right: TCplx): Boolean;Returns true, if any elements of Left are not equal to Right.
4class operator NotEqual(const Left: Vector; const Right: TMtxVec): Boolean;Returns true, if Left and Right do not have equal Length and Values.
5class operator NotEqual(const Left: Vector; const Right: Vector): Boolean;Returns true, if Left and Right are not equal.
6class operator NotEqual(const Left: Vector; const Right: Double): Boolean;Returns true, if any elements of Left are not equal to Right.
7class operator NotEqual(const Left: Double; const Right: Vector): Boolean;Returns true, if any elements of Right are not equal to Left.

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

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

#NameTypeDescription
1LeftTCplxscalar
2RightVector

Returns: Boolean

Overload 2: class operator NotEqual(const Left: TMtxVec; const Right: Vector): Boolean;

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

#NameTypeDescription
1LeftTMtxVecsource TVec or TMtx
2RightVector

Returns: Boolean

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

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

#NameTypeDescription
1LeftVector
2RightTCplxscalar

Returns: Boolean

Overload 4: class operator NotEqual(const Left: Vector; const Right: TMtxVec): Boolean;

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

#NameTypeDescription
1LeftVector
2RightTMtxVecsource TVec or TMtx

Returns: Boolean

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

Returns true, if Left and Right are not equal.

#NameTypeDescription
1LeftVector
2RightVector

Returns: Boolean

Remarks:

Returns true, if Left and Right do not have equal Length and Values. TMtxVec.IsEqual is called with tolerance 0.

var a,b: Vector;
begin
    a := Vector(TDoubleArray.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 real value

    if a <> Cplx(1,0) then ERaise('a does not equals 1!'); //compare to complex value
end;
See Also: TVec.Equal, TMtxVec.IsEqual

Overload 6: class operator NotEqual(const Left: Vector; const Right: Double): Boolean;

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

#NameTypeDescription
1LeftVector
2RightDoublescalar

Returns: Boolean

Overload 7: class operator NotEqual(const Left: Double; const Right: Vector): Boolean;

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

#NameTypeDescription
1LeftDoublescalar
2RightVector

Returns: Boolean