MatrixInt.IsEqual Method

Overload List

#SignatureDescription
1function IsEqual(const Vec: TMtxVecInt): Boolean;Compares two objects.
└ indexed: function IsEqual(const Vec: TMtxVecInt; const VecIndex: Integer; const Index: Integer; const Len: Integer): Boolean;
2function IsEqual(const Value: Integer): Boolean;Compares Value with all calling object elements.
└ indexed: function IsEqual(const Value: Integer; const Index: Integer; const Len: Integer): Boolean;

Overload 1: function IsEqual(const Vec: TMtxVecInt): Boolean;

Compares two objects.

#NameTypeDescription
1VecTMtxVecInt

Returns: Boolean - True, if they are equal.

Remarks:

Compares two objects and returns True, if they are equal.

The method compares MatrixInt.Length and MatrixInt.IntPrecision properties and coresponding values.

Indexed: function IsEqual(const Vec: TMtxVecInt; const VecIndex: Integer; const Index: Integer; const Len: Integer): Boolean;

Compares Vec elements [VecIndex]..[VecIndex+Len-1] with calling object elements [Index]..[Index+Len-1].

#NameTypeDescription
1VecTMtxVecInt
2VecIndexInteger
3IndexIntegerstart index
4LenIntegerelement count

Returns: Boolean

Overload 2: function IsEqual(const Value: Integer): Boolean;

Compares Value with all calling object elements.

#NameTypeDescription
1ValueInteger

Returns: Boolean

Indexed: function IsEqual(const Value: Integer; const Index: Integer; const Len: Integer): Boolean;

Compares Value with all calling object elements.

#NameTypeDescription
1ValueInteger
2IndexIntegerstart index
3LenIntegerelement count

Returns: Boolean