Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function Multiply(const Src: TMtxVecInt): TMtxVecInt; | Multiply Src elements with calling vector elements. |
| └ indexed: function Multiply(const Src: TMtxVecInt; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt; | ||
| 2 | function Multiply(const Src1: TMtxVecInt; const Src2: TMtxVecInt): TMtxVecInt; | Multiplies coresponding elements in Src2 with Src1. |
| 3 | function Multiply(const Src: TMtxVecInt; Value: Integer): TMtxVecInt; | Multiply integer Value with all Src elements. |
| └ indexed: function Multiply(const Src: TMtxVecInt; Value: Integer; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt; | ||
| 4 | function Multiply(Value: Integer): TMtxVecInt; | Multiply integer value with all calling vector elements. |
| └ indexed: function Multiply(Value: Integer; Index: Integer; Len: Integer): TMtxVecInt; | ||
| 5 | function Multiply(const Src1: TMtxVecInt; const Src2: TMtxVecInt; SrcIndex1: Integer; SrcIndex2: Integer; Index: Integer; Len: Integer): TMtxVecInt; | Multiply coresponding elements in Src2 with Src1. |
Overload 1: function Multiply(const Src: TMtxVecInt): TMtxVecInt;
Multiply Src elements with calling vector elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt | source TVecInt or TMtxInt |
Result: stored in self (calling object), returns self for chaining
Indexed: function Multiply(const Src: TMtxVecInt; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;
Mjultiply Src elements [SrcIndex..SrcIndex+Len-1] with calling vector elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | SrcIndex | Integer | source start index |
| 3 | Index | Integer | start index |
| 4 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
Multiply Src elements [SrcIndex..SrcIndex+Len-1] with calling vector elements [Index..Index+Len-1]. An exception is raised if array borders are overrun.
Overload 2: function Multiply(const Src1: TMtxVecInt; const Src2: TMtxVecInt): TMtxVecInt;
Multiplies coresponding elements in Src2 with Src1.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src1 | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | Src2 | TMtxVecInt | source TVecInt or TMtxInt |
Result: stored in self (calling object), returns self for chaining
Returns: the result of multipliing Src2 values with coresponding Src1 values.
Overload 3: function Multiply(const Src: TMtxVecInt; Value: Integer): TMtxVecInt;
Multiply integer Value with all Src elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | Value | Integer |
Result: stored in self (calling object), returns self for chaining
Multiply integer Value with all Src elements and store the results in calling vector. Size of calling vector is adjusted automatically.
Indexed: function Multiply(const Src: TMtxVecInt; Value: Integer; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;
Multiply integer value with Src vector elements [SrcIndex..SrcIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | Value | Integer | |
| 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
Store the results in calling vector elements [Index..Index+Len-1]. An exception is raised if array borders are overrun.
Overload 4: function Multiply(Value: Integer): TMtxVecInt;
Multiply integer value with all calling vector elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Integer |
Result: stored in self (calling object), returns self for chaining
Indexed: function Multiply(Value: Integer; Index: Integer; Len: Integer): TMtxVecInt;
Multiply integer 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
An exception is raised if array borders are overrun.
Overload 5: function Multiply(const Src1: TMtxVecInt; const Src2: TMtxVecInt; SrcIndex1: Integer; SrcIndex2: Integer; Index: Integer; Len: Integer): TMtxVecInt;
Multiply coresponding elements in Src2 with Src1.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src1 | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | Src2 | TMtxVecInt | source TVecInt or TMtxInt |
| 3 | SrcIndex1 | Integer | |
| 4 | SrcIndex2 | Integer | |
| 5 | Index | Integer | start index |
| 6 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
Multiply Src1 elements [Src1Index..Src1Index+Len-1] with corrresponding Src2 elements [Src2Index..Src2ndex+Len] and store the results in calling vector elements [Index..Index+Len-1]. An exception is raised if array borders are overrun.