Vector.op_Inequality Operator

Overload List

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

Overload 1: Boolean op_Inequality(TCplx Left, Vector Right)

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

#NameTypeDescription
1LeftTCplxscalar
2RightVector

Returns: Boolean

Overload 2: Boolean op_Inequality(TMtxVec Left, Vector Right)

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

#NameTypeDescription
1LeftTMtxVecsource TVec or TMtx
2RightVector

Returns: Boolean

Overload 3: Boolean op_Inequality(Vector Left, TCplx Right)

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

#NameTypeDescription
1LeftVector
2RightTCplxscalar

Returns: Boolean

Overload 4: Boolean op_Inequality(Vector Left, TMtxVec Right)

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

#NameTypeDescription
1LeftVector
2RightTMtxVecsource TVec or TMtx

Returns: Boolean

Overload 5: Boolean op_Inequality(Vector Left, Vector Right)

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: Boolean op_Inequality(Vector Left, Double Right)

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

#NameTypeDescription
1LeftVector
2RightDoublescalar

Returns: Boolean

Overload 7: Boolean op_Inequality(Double Left, Vector Right)

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

#NameTypeDescription
1LeftDoublescalar
2RightVector

Returns: Boolean