Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function DivideBy(Value: Integer): TMtxVecInt; | Divide Value with calling vector elements. |
| └ indexed: function DivideBy(Value: Integer; Index: Integer; Len: Integer): TMtxVecInt; | ||
| 2 | function DivideBy(Value: Integer; const Src: TMtxVecInt): TMtxVecInt; | Divide Value with Src vector elements and place result in the calling vector. |
| └ indexed: function DivideBy(Value: Integer; const Src: TMtxVecInt; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt; |
Overload 1: function DivideBy(Value: Integer): TMtxVecInt;
Divide Value with calling vector elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Integer |
Result: stored in self (calling object), returns self for chaining
Indexed: function DivideBy(Value: Integer; Index: Integer; Len: Integer): TMtxVecInt;
Divide Value with calling vector elements [Index..Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Integer | |
| 2 | Index | Integer | start index |
| 3 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
Remarks:
An exception is raised if array borders are overrun.
Overload 2: function DivideBy(Value: Integer; const Src: TMtxVecInt): TMtxVecInt;
Divide Value with Src vector elements and place result in the calling vector.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Integer | |
| 2 | Src | TMtxVecInt | source TVecInt or TMtxInt |
Result: stored in self (calling object), returns self for chaining
Remarks:
Size of the calling vector is adjusted automatically.
Indexed: function DivideBy(Value: Integer; const Src: TMtxVecInt; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;
Divide Value with Src vector elements [SrcIndex..SrcIndex+Len-1] and place the result in the calling vector elements [Index..Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Integer | |
| 2 | Src | TMtxVecInt | source TVecInt or TMtxInt |
| 3 | SrcIndex | Integer | source start index |
| 4 | Index | Integer | start index |
| 5 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
Remarks:
An exception is raised if array borders are overrun.