MatrixInt::operator== Operator

Overload List

#SignatureDescription
1bool operator==(const VectorInt &Left, const MatrixInt &Right);Returns true, if Left and Right are of equal Length and Values.
2bool operator==(const MatrixInt &Left, const MatrixInt &Right);Returns true, if Left and Right are of equal Length and Values.
3bool operator==(const MatrixInt &Left, const int Right);Returns true, if all elements of Left are equal to Right.
4bool operator==(const int Left, const MatrixInt &Right);Returns true, if all elements of Right are equal to Left.
5bool operator==(TMtxInt *Left, const MatrixInt &Right);Returns true, if Left and Right have equal Rows, Cols, IntPrecision and Values.
6bool operator==(const MatrixInt &Left, TMtxInt *Right);Returns true, if Left and Right have equal Rows, Cols, IntPrecision and Values.
7bool operator==(TVecInt *Left, const MatrixInt &Right);Returns true, if Left and Right are of equal Length, IntPrecision and Values.
8bool operator==(const MatrixInt &Left, TVecInt *Right);Returns true, if Left and Right are of equal Length, IntPrecision and Values.

Overload 1: bool operator==(const VectorInt &Left, const MatrixInt &Right);

Returns true, if Left and Right are of equal Length and Values.

#NameTypeDescription
1Leftconst VectorInt &
2Rightconst MatrixInt &
Declared in Dew::Math · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 2: bool operator==(const MatrixInt &Left, const MatrixInt &Right);

Returns true, if Left and Right are of equal Length and Values.

#NameTypeDescription
1Leftconst MatrixInt &
2Rightconst MatrixInt &
Remarks:
var a,b: MatrixInt;
    c: TDoubleArray;
begin
    c := TDoubleArray.Create(1,1,1,1,1,0);

    a.Size(3,3);
    a.CopyFromArray(c);
    b.Copy(a);
    if a = b then ERaise('a and b are equal!');

    if a = 1 then ERaise('a equals 1!');   //compare to real value
end;
See Also: TMtxVecInt::IsEqual
Declared in Dew::Math · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 3: bool operator==(const MatrixInt &Left, const int Right);

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

#NameTypeDescription
1Leftconst MatrixInt &
2Rightconst int
Declared in Dew::Math · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 4: bool operator==(const int Left, const MatrixInt &Right);

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

#NameTypeDescription
1Leftconst int
2Rightconst MatrixInt &
Declared in Dew::Math · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 5: bool operator==(TMtxInt *Left, const MatrixInt &Right);

Returns true, if Left and Right have equal Rows, Cols, IntPrecision and Values.

#NameTypeDescription
1LeftTMtxInt *
2Rightconst MatrixInt &
Declared in Dew::Math · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 6: bool operator==(const MatrixInt &Left, TMtxInt *Right);

Returns true, if Left and Right have equal Rows, Cols, IntPrecision and Values.

#NameTypeDescription
1Leftconst MatrixInt &
2RightTMtxInt *
Declared in Dew::Math · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 7: bool operator==(TVecInt *Left, const MatrixInt &Right);

Returns true, if Left and Right are of equal Length, IntPrecision and Values.

#NameTypeDescription
1LeftTVecInt *
2Rightconst MatrixInt &
Declared in Dew::Math · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 8: bool operator==(const MatrixInt &Left, TVecInt *Right);

Returns true, if Left and Right are of equal Length, IntPrecision and Values.

#NameTypeDescription
1Leftconst MatrixInt &
2RightTVecInt *
Declared in Dew::Math · Dew.Math/MtxExprInt.h · Cross-compiler