TMtxInt.RemDiv Method

Overload List

#SignatureDescription
1function RemDiv(Src: TMtxVecInt; Value: TMtxVecInt; RemDst: TMtxVecInt): TMtxVecInt;Divide all Src elements with Value elements and store result of division in the calling object and reminder in RemDst.
2function RemDiv(Src: TMtxVecInt; Value: Integer; RemDst: TMtxVecInt): TMtxVecInt;Divide all Src elements with Value and store result of division in the calling object and reminder in RemDst.
3function RemDiv(Src: Integer; Value: TMtxVecInt; RemDst: TMtxVecInt): TMtxVecInt;Divide Src with all Value elements and store result of division in the calling object and reminder in RemDst.
4function RemDiv(Src: TMtxVecInt; Value: TMtxVecInt; RemDst: TMtxVecInt; SrcIndex: Integer; ValueIndex: Integer; RemDstIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;Divide all Src elements with Value and store result of division in the calling object and reminder in RemDst.
5function RemDiv(Src: TMtxVecInt; Value: Integer; RemDst: TMtxVecInt; SrcIndex: Integer; RemDstIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;Divide all Src elements with Value and store result of division in the calling object and reminder in RemDst.
6function RemDiv(Src: Integer; Value: TMtxVecInt; RemDst: TMtxVecInt; ValueIndex: Integer; RemDstIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;Divide Src with Value elements and store result of division in the calling object and reminder in RemDst.

Overload 1: function RemDiv(Src: TMtxVecInt; Value: TMtxVecInt; RemDst: TMtxVecInt): TMtxVecInt;

Divide all Src elements with Value elements and store result of division in the calling object and reminder in RemDst.

#NameTypeDescription
1SrcTMtxVecIntsource TVecInt or TMtxInt
2ValueTMtxVecIntsource TVecInt or TMtxInt
3RemDstTMtxVecIntsource TVecInt or TMtxInt

Result: stored in self (calling object), returns self for chaining

Remarks:

Size and TMtxVecInt.IntPrecision properties of the calling object and of RemDst are adjusted automatically.

Overload 2: function RemDiv(Src: TMtxVecInt; Value: Integer; RemDst: TMtxVecInt): TMtxVecInt;

Divide all Src elements with Value and store result of division in the calling object and reminder in RemDst.

#NameTypeDescription
1SrcTMtxVecIntsource TVecInt or TMtxInt
2ValueInteger
3RemDstTMtxVecIntsource TVecInt or TMtxInt

Result: stored in self (calling object), returns self for chaining

Remarks:

Size and TMtxVecInt.IntPrecision properties of the calling object and of RemDst are adjusted automatically.

Overload 3: function RemDiv(Src: Integer; Value: TMtxVecInt; RemDst: TMtxVecInt): TMtxVecInt;

Divide Src with all Value elements and store result of division in the calling object and reminder in RemDst.

#NameTypeDescription
1SrcInteger
2ValueTMtxVecIntsource TVecInt or TMtxInt
3RemDstTMtxVecIntsource TVecInt or TMtxInt

Result: stored in self (calling object), returns self for chaining

Remarks:

Size and TMtxVecInt.IntPrecision properties of the calling object and of RemDst are adjusted automatically.

Overload 4: function RemDiv(Src: TMtxVecInt; Value: TMtxVecInt; RemDst: TMtxVecInt; SrcIndex: Integer; ValueIndex: Integer; RemDstIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;

Divide all Src elements with Value and store result of division in the calling object and reminder in RemDst.

#NameTypeDescription
1SrcTMtxVecIntsource TVecInt or TMtxInt
2ValueTMtxVecIntsource TVecInt or TMtxInt
3RemDstTMtxVecIntsource TVecInt or TMtxInt
4SrcIndexIntegersource start index
5ValueIndexInteger
6RemDstIndexInteger
7IndexIntegerstart index
8LenIntegerelement count

Result: stored in self (calling object), returns self for chaining

Remarks:

Store the result of division in the calling object elements [Index]..[Index+Len-1] and remainder in to [RemDstIndex] .. [RemDstIndex+ Len-1]. Size and TMtxVecInt.IntPrecision properties of the calling object and RemDst must be set explicitly. An exception is raised if TMtxVecBase.ConditionCheck is true and array borders are overrun/underrun.

Overload 5: function RemDiv(Src: TMtxVecInt; Value: Integer; RemDst: TMtxVecInt; SrcIndex: Integer; RemDstIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;

Divide all Src elements with Value and store result of division in the calling object and reminder in RemDst.

#NameTypeDescription
1SrcTMtxVecIntsource TVecInt or TMtxInt
2ValueInteger
3RemDstTMtxVecIntsource TVecInt or TMtxInt
4SrcIndexIntegersource start index
5RemDstIndexInteger
6IndexIntegerstart index
7LenIntegerelement count

Result: stored in self (calling object), returns self for chaining

Remarks:

Store the result of division in the calling object elements [Index]..[Index+Len-1] and remainder in to [RemDstIndex] .. [RemDstIndex+ Len-1]. Size and TMtxVecInt.IntPrecision properties of the calling object and RemDst must be set explicitly. An exception is raised if TMtxVecBase.ConditionCheck is true and array borders are overrun/underrun.

Overload 6: function RemDiv(Src: Integer; Value: TMtxVecInt; RemDst: TMtxVecInt; ValueIndex: Integer; RemDstIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;

Divide Src with Value elements and store result of division in the calling object and reminder in RemDst.

#NameTypeDescription
1SrcInteger
2ValueTMtxVecIntsource TVecInt or TMtxInt
3RemDstTMtxVecIntsource TVecInt or TMtxInt
4ValueIndexInteger
5RemDstIndexInteger
6IndexIntegerstart index
7LenIntegerelement count

Result: stored in self (calling object), returns self for chaining

Remarks:

Store the result of division in the calling object elements [Index]..[Index+Len-1] and remainder in to [RemDstIndex] .. [RemDstIndex+ Len-1]. Size and TMtxVecInt.IntPrecision properties of the calling object and RemDst must be set explicitly. An exception is raised if TMtxVecBase.ConditionCheck is true and array borders are overrun/underrun.