Vector::operator!= Operator

Overload List

#SignatureDescription
1bool operator!=(const Vector &Left, const Vector &Right);Returns true, if Left and Right are not equal.
2bool operator!=(const Vector &Left, const double Right);Returns true, if any elements of Left are not equal to Right.
3bool operator!=(const double Left, const Vector &Right);Returns true, if any elements of Right are not equal to Left.
4bool operator!=(const Vector &Left, const TCplx &Right);Returns true, if any elements of Left are not equal to Right.
5bool operator!=(const TCplx &Left, const Vector &Right);Returns true, if any elements of Right are not equal to Left.
6bool operator!=(TMtxVec *Left, const Vector &Right);Returns true, if Left and Right do not have equal Length and Values.
7bool operator!=(TVec *Left, const Vector &Right);Returns true, if Left and Right do not have equal Length and Values.
8bool operator!=(const Vector &Left, TMtxVec *Right);Returns true, if Left and Right do not have equal Length and Values.
9bool operator!=(const Vector &Left, TVec *Right);Returns true, if Left and Right do not have equal Length and Values.
10bool operator!=(const Vector &Left, const Matrix &Right);Returns true, if Left and Right do not have equal Length and Values.

Overload 1: bool operator!=(const Vector &Left, const Vector &Right);

Returns true, if Left and Right are not equal.

#NameTypeDescription
1Leftconst Vector &
2Rightconst Vector &
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
Declared in Dew::Math · Dew.Math/MtxExpr.h · Cross-compiler

Overload 2: bool operator!=(const Vector &Left, const double Right);

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

#NameTypeDescription
1Leftconst Vector &
2Rightconst double
Declared in Dew::Math · Dew.Math/MtxExpr.h · Cross-compiler

Overload 3: bool operator!=(const double Left, const Vector &Right);

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

#NameTypeDescription
1Leftconst double
2Rightconst Vector &
Declared in Dew::Math · Dew.Math/MtxExpr.h · Cross-compiler

Overload 4: bool operator!=(const Vector &Left, const TCplx &Right);

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

#NameTypeDescription
1Leftconst Vector &
2Rightconst TCplx &
Declared in Dew::Math · Dew.Math/MtxExpr.h · Cross-compiler

Overload 5: bool operator!=(const TCplx &Left, const Vector &Right);

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

#NameTypeDescription
1Leftconst TCplx &
2Rightconst Vector &
Declared in Dew::Math · Dew.Math/MtxExpr.h · Cross-compiler

Overload 6: bool operator!=(TMtxVec *Left, const Vector &Right);

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

#NameTypeDescription
1LeftTMtxVec *
2Rightconst Vector &
Declared in Dew::Math · Dew.Math/MtxExpr.h · Cross-compiler

Overload 7: bool operator!=(TVec *Left, const Vector &Right);

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

#NameTypeDescription
1LeftTVec *
2Rightconst Vector &
Declared in Dew::Math · Dew.Math/MtxExpr.h · Cross-compiler

Overload 8: bool operator!=(const Vector &Left, TMtxVec *Right);

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

#NameTypeDescription
1Leftconst Vector &
2RightTMtxVec *
Declared in Dew::Math · Dew.Math/MtxExpr.h · Cross-compiler

Overload 9: bool operator!=(const Vector &Left, TVec *Right);

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

#NameTypeDescription
1Leftconst Vector &
2RightTVec *
Declared in Dew::Math · Dew.Math/MtxExpr.h · Cross-compiler

Overload 10: bool operator!=(const Vector &Left, const Matrix &Right);

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

#NameTypeDescription
1Leftconst Vector &
2Rightconst Matrix &
Declared in Dew::Math · Dew.Math/MtxExpr.h · Cross-compiler