TAbstractMtxVecInt.IsEqual Method

Overload List

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

Overload 1: function IsEqual(Vec: TMtxVecInt): boolean; overload;

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, Index, Len: integer): boolean; overload;

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; overload;

Compares Value with all calling object elements.

#NameTypeDescription
1Valueinteger

Returns: boolean

Indexed: function IsEqual(Value, Index, Len: integer): boolean; overload;

Compares Value with all calling object elements.

#NameTypeDescription
1Valueinteger
2Indexintegerstart index
3Lenintegerelement count

Returns: boolean