VectorInt.IsEqual Method

Overload List

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

Overload 1: Boolean IsEqual(TMtxVecInt Vec)

Compares two objects.

#NameTypeDescription
1VecTMtxVecIntsource TVecInt or TMtxInt

Returns: Boolean - True, if they are equal.

Remarks:

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

The method compares Dew.Math.VectorInt.Length and Dew.Math.VectorInt.IntPrecision properties and coresponding values.

Indexed: Boolean IsEqual(TMtxVecInt Vec, Int32 VecIndex, Int32 Index, Int32 Len)

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

#NameTypeDescription
1VecTMtxVecIntsource TVecInt or TMtxInt
2VecIndexInt32
3IndexInt32start index
4LenInt32element count

Returns: Boolean

Overload 2: Boolean IsEqual(Int32 Value)

Compares Value with all calling object elements.

#NameTypeDescription
1ValueInt32

Returns: Boolean

Indexed: Boolean IsEqual(Int32 Value, Int32 Index, Int32 Len)

Compares Value with all calling object elements.

#NameTypeDescription
1ValueInt32
2IndexInt32start index
3LenInt32element count

Returns: Boolean