Overload List
Overload 1: function DivAndAdd(const X: TMtxVecInt; const Y: TMtxVecInt; const Z: TMtxVecInt): TMtxVecInt;
Compute X/Y + Z
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | Y | TMtxVecInt | source TVecInt or TMtxInt |
| 3 | Z | TMtxVecInt | source TVecInt or TMtxInt |
Result: stored in self (calling object), returns self for chaining
Indexed: function DivAndAdd(const X: TMtxVecInt; XIndex: Integer; const Y: TMtxVecInt; YIndex: Integer; const Z: TMtxVecInt; zIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;
Compute X/Y + Z on sub array
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | XIndex | Integer | X start index |
| 3 | Y | TMtxVecInt | source TVecInt or TMtxInt |
| 4 | YIndex | Integer | Y start index |
| 5 | Z | TMtxVecInt | source TVecInt or TMtxInt |
| 6 | zIndex | Integer | |
| 7 | Index | Integer | start index |
| 8 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
Overload 2: function DivAndAdd(const X: TMtxVecInt; const Y: TMtxVecInt; const Z: TMtxVecInt; zScale: Integer): TMtxVecInt;
Compute X/Y + Z*zScale
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | Y | TMtxVecInt | source TVecInt or TMtxInt |
| 3 | Z | TMtxVecInt | source TVecInt or TMtxInt |
| 4 | zScale | Integer |
Result: stored in self (calling object), returns self for chaining
Indexed: function DivAndAdd(const X: TMtxVecInt; XIndex: Integer; const Y: TMtxVecInt; YIndex: Integer; const Z: TMtxVecInt; zIndex: Integer; zScale: Integer; Index: Integer; Len: Integer): TMtxVecInt;
Compute X/Y + Z*zScale on sub array
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | XIndex | Integer | X start index |
| 3 | Y | TMtxVecInt | source TVecInt or TMtxInt |
| 4 | YIndex | Integer | Y start index |
| 5 | Z | TMtxVecInt | source TVecInt or TMtxInt |
| 6 | zIndex | Integer | |
| 7 | zScale | Integer | |
| 8 | Index | Integer | start index |
| 9 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
Overload 3: function DivAndAdd(const X: TMtxVecInt; const Y: TMtxVecInt; Z: Integer): TMtxVecInt;
Compute X/Y + zScalar
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | Y | TMtxVecInt | source TVecInt or TMtxInt |
| 3 | Z | Integer |
Result: stored in self (calling object), returns self for chaining
Indexed: function DivAndAdd(const X: TMtxVecInt; XIndex: Integer; const Y: TMtxVecInt; YIndex: Integer; Z: Integer; Index: Integer; Len: Integer): TMtxVecInt;
Compute X/Y + zScalar on sub array
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | XIndex | Integer | X start index |
| 3 | Y | TMtxVecInt | source TVecInt or TMtxInt |
| 4 | YIndex | Integer | Y start index |
| 5 | Z | Integer | |
| 6 | Index | Integer | start index |
| 7 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
Overload 4: function DivAndAdd(const X: TMtxVecInt; const Y: TMtxVecInt; xyScale: Integer; const Z: TMtxVecInt): TMtxVecInt;
Compute X/Y*xyScale + Z
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | Y | TMtxVecInt | source TVecInt or TMtxInt |
| 3 | xyScale | Integer | |
| 4 | Z | TMtxVecInt | source TVecInt or TMtxInt |
Result: stored in self (calling object), returns self for chaining
Indexed: function DivAndAdd(const X: TMtxVecInt; XIndex: Integer; const Y: TMtxVecInt; YIndex: Integer; xyScale: Integer; const Z: TMtxVecInt; zIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;
Compute X/Y*xyScale + Z on sub array
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | XIndex | Integer | X start index |
| 3 | Y | TMtxVecInt | source TVecInt or TMtxInt |
| 4 | YIndex | Integer | Y start index |
| 5 | xyScale | Integer | |
| 6 | Z | TMtxVecInt | source TVecInt or TMtxInt |
| 7 | zIndex | Integer | |
| 8 | Index | Integer | start index |
| 9 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
Overload 5: function DivAndAdd(const X: TMtxVecInt; const Y: TMtxVecInt; xyScale: Integer; const Z: TMtxVecInt; zScale: Integer): TMtxVecInt;
Compute (X / Y)*xyScale + Z*zScale
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | Y | TMtxVecInt | source TVecInt or TMtxInt |
| 3 | xyScale | Integer | |
| 4 | Z | TMtxVecInt | source TVecInt or TMtxInt |
| 5 | zScale | Integer |
Result: stored in self (calling object), returns self for chaining
The following expression would also run at the same or higher speed, when passing Z also for the Y parameter:
(X / Z) xyScale + Z zScale
Overload 6: function DivAndAdd(const X: TMtxVecInt; XIndex: Integer; const Y: TMtxVecInt; YIndex: Integer; xyScale: Integer; const Z: TMtxVecInt; zIndex: Integer; zScale: Integer; Index: Integer; Len: Integer): TMtxVecInt;
Compute (X / Y)*xyScale + Z*zScale on sub array
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | XIndex | Integer | X start index |
| 3 | Y | TMtxVecInt | source TVecInt or TMtxInt |
| 4 | YIndex | Integer | Y start index |
| 5 | xyScale | Integer | |
| 6 | Z | TMtxVecInt | source TVecInt or TMtxInt |
| 7 | zIndex | Integer | |
| 8 | zScale | Integer | |
| 9 | Index | Integer | start index |
| 10 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
Overload 7: function DivAndAdd(const X: TMtxVecInt; const Y: TMtxVecInt; xyScale: Integer; Z: Integer): TMtxVecInt;
Compute (X / Y) * xyScale + zScalar
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | Y | TMtxVecInt | source TVecInt or TMtxInt |
| 3 | xyScale | Integer | |
| 4 | Z | Integer |
Result: stored in self (calling object), returns self for chaining
Overload 8: function DivAndAdd(const X: TMtxVecInt; XIndex: Integer; const Y: TMtxVecInt; YIndex: Integer; xyScale: Integer; Z: Integer; Index: Integer; Len: Integer): TMtxVecInt;
Compute (X / Y) * xyScale + zScalar
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | XIndex | Integer | X start index |
| 3 | Y | TMtxVecInt | source TVecInt or TMtxInt |
| 4 | YIndex | Integer | Y start index |
| 5 | xyScale | Integer | |
| 6 | Z | Integer | |
| 7 | Index | Integer | start index |
| 8 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining