Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVecInt SubtractFrom(Int32 Value) | Subtract all calling vector elements from integer Value. |
| └ indexed: TMtxVecInt SubtractFrom(Int32 Value, Int32 Index, Int32 Len) | ||
| 2 | TMtxVecInt SubtractFrom(Int32 Value, TMtxVecInt Src) | Subtract all Src vector elements from integer Value. |
| └ indexed: TMtxVecInt SubtractFrom(Int32 Value, TMtxVecInt Src, Int32 SrcIndex, Int32 Index, Int32 Len) |
Overload 1: TMtxVecInt SubtractFrom(Int32 Value)
Subtract all calling vector elements from integer Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Int32 |
Result: stored in self (calling object), returns self for chaining
Indexed: TMtxVecInt SubtractFrom(Int32 Value, Int32 Index, Int32 Len)
Subtract calling vector elements [Index..Index+Len-1] from integer Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Int32 | |
| 2 | Index | Int32 | start index |
| 3 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
An exception is raised if array borders are overrun.
Overload 2: TMtxVecInt SubtractFrom(Int32 Value, TMtxVecInt Src)
Subtract all Src vector elements from integer Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Int32 | |
| 2 | Src | TMtxVecInt | source TVecInt or TMtxInt |
Result: stored in self (calling object), returns self for chaining
and store thje results in calling vector. Size of calling vector is adjusted automatically.
Indexed: TMtxVecInt SubtractFrom(Int32 Value, TMtxVecInt Src, Int32 SrcIndex, Int32 Index, Int32 Len)
Subtract Src vector elements [SrcIndex..SrcIndex+Len-1] from integer Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Int32 | |
| 2 | Src | TMtxVecInt | source TVecInt or TMtxInt |
| 3 | SrcIndex | Int32 | source start index |
| 4 | Index | Int32 | start index |
| 5 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
and store thje results in calling vector elements [Index..Index+Len-1]. Size of calling vector is adjusted automatically. An exception is raised if array borders are overrun.