You are here: Symbol Reference > MtxExpr Namespace > Classes > Vector Record > public > NotEqual Operator > Vector.NotEqual Operator (Vector, Vector)
MtxVec VCL
ContentsIndex
PreviousUpNext
Vector.NotEqual Operator (Vector, Vector)

Returns true, if Left and Right are not equal.

Pascal
class operator NotEqual(const Left: Vector; const Right: Vector);

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;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!