Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function DivideBy(Value: integer): TMtxVecInt; overload; | Divide Value with calling vector elements. |
| └ indexed: function DivideBy(Value, Index, Len: integer): TMtxVecInt; overload; | ||
| 2 | function DivideBy(Value: integer; const Src: TMtxVecInt): TMtxVecInt; overload; | Divide Value with Src vector elements and place result in the calling vector. |
| └ indexed: function DivideBy(Value: integer; const Src: TMtxVecInt; SrcIndex, Index, Len: integer): TMtxVecInt; overload; |
Overload 1: function DivideBy(Value: integer): TMtxVecInt; overload;
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, Index, Len: integer): TMtxVecInt; overload;
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; overload;
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, Index, Len: integer): TMtxVecInt; overload;
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.