TMtxInt.IsEqual Method

Overload List

#SignatureDescription
1function IsEqual(Vec: TMtxVecInt): Boolean;Compares all Vec elements with calling object elements and checks also Length and IntPrecision properties, if they match.
└ indexed: function IsEqual(Vec: TMtxVecInt; VecIndex: Integer; Index: Integer; Len: Integer): Boolean;
2function IsEqual(Value: Integer): Boolean;Compares Value with all calling object elements.
└ indexed: function IsEqual(Value: Integer; Index: Integer; Len: Integer): Boolean;

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

Compares all Vec elements with calling object elements and checks also Length and IntPrecision properties, if they match.

#NameTypeDescription
1VecTMtxVecIntsource TVecInt or TMtxInt

Returns: Boolean

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

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

#NameTypeDescription
1VecTMtxVecIntsource TVecInt or TMtxInt
2VecIndexInteger
3IndexIntegerstart index
4LenIntegerelement count

Returns: Boolean

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

Compares Value with all calling object elements.

#NameTypeDescription
1ValueInteger

Returns: Boolean

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

Compares Value with all calling object elements.

#NameTypeDescription
1ValueInteger
2IndexIntegerstart index
3LenIntegerelement count

Returns: Boolean