Overload List
Overload 1: function DivAndAdd(const X, Y, Z: TMtxVecInt): TMtxVecInt; overload;
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
Overload 2: function DivAndAdd(const X, Y, Z: TMtxVecInt; zScale: integer): TMtxVecInt; overload;
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
Overload 3: function DivAndAdd(const X, Y: TMtxVecInt; Z: integer): TMtxVecInt; overload;
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
Overload 4: function DivAndAdd(const X, Y: TMtxVecInt; xyScale: integer; const Z: TMtxVecInt): TMtxVecInt; overload;
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
Overload 5: function DivAndAdd(const X: TMtxVecInt; const Y: TMtxVecInt; xyScale: integer; const Z: TMtxVecInt; zScale: integer): TMtxVecInt; overload;
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; const Y: TMtxVecInt; xyScale: integer; Z: integer): TMtxVecInt; overload;
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 7: function DivAndAdd(const X: TMtxVecInt; xIndex: Integer; const Y: TMtxVecInt; yIndex: Integer; const Z: TMtxVecInt; zIndex: Integer; Index, Len: Integer): TMtxVecInt; overload;
Compute X/Y + Z on sub array
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | xIndex | Integer | |
| 3 | Y | TMtxVecInt | source TVecInt or TMtxInt |
| 4 | yIndex | Integer | |
| 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 8: function DivAndAdd(const X: TMtxVecInt; xIndex: Integer; const Y: TMtxVecInt; yIndex: Integer; const Z: TMtxVecInt; zIndex: Integer; zScale: integer; Index, Len: Integer): TMtxVecInt; overload;
Compute X/Y + Z*zScale on sub array
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | xIndex | Integer | |
| 3 | Y | TMtxVecInt | source TVecInt or TMtxInt |
| 4 | yIndex | Integer | |
| 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 9: function DivAndAdd(const X: TMtxVecInt; xIndex: Integer; const Y: TMtxVecInt; yIndex: Integer; Z: integer; Index, Len: Integer): TMtxVecInt; overload;
Compute X/Y + zScalar on sub array
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | xIndex | Integer | |
| 3 | Y | TMtxVecInt | source TVecInt or TMtxInt |
| 4 | yIndex | Integer | |
| 5 | Z | integer | |
| 6 | Index | Integer | start index |
| 7 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
Overload 10: function DivAndAdd(const X: TMtxVecInt; xIndex: Integer; const Y: TMtxVecInt; yIndex: Integer; xyScale: integer; const Z: TMtxVecInt; zIndex: Integer; Index, Len: Integer): TMtxVecInt; overload;
Compute X/Y*xyScale + Z on sub array
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | xIndex | Integer | |
| 3 | Y | TMtxVecInt | source TVecInt or TMtxInt |
| 4 | yIndex | Integer | |
| 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 11: function DivAndAdd(const X: TMtxVecInt; xIndex: Integer; const Y: TMtxVecInt; yIndex: Integer; xyScale: integer; const Z: TMtxVecInt; zIndex: Integer; zScale: integer; Index, Len: Integer): TMtxVecInt; overload;
Compute (X / Y)*xyScale + Z*zScale on sub array
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | xIndex | Integer | |
| 3 | Y | TMtxVecInt | source TVecInt or TMtxInt |
| 4 | yIndex | Integer | |
| 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 12: function DivAndAdd(const X: TMtxVecInt; xIndex: Integer; const Y: TMtxVecInt; yIndex: Integer; xyScale: integer; Z: integer; Index, Len: Integer): TMtxVecInt; overload;
Compute (X / Y) * xyScale + zScalar
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | xIndex | Integer | |
| 3 | Y | TMtxVecInt | source TVecInt or TMtxInt |
| 4 | yIndex | Integer | |
| 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