Overload List
Overload 1: function MulAndAdd(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 MulAndAdd(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 MulAndAdd(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 MulAndAdd(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 MulAndAdd(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 X also for the Y parameter:
X^2*xyScale + Z*zScale
Overload 6: function MulAndAdd(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 MulAndAdd(const X: TMtxVecInt; Y, Z: integer): TMtxVecInt; overload;
Compute (X*yScalar) + zScalar
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | Y | integer | |
| 3 | Z | integer |
Result: stored in self (calling object), returns self for chaining
Overload 8: function MulAndAdd(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 9: function MulAndAdd(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 10: function MulAndAdd(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 11: function MulAndAdd(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 12: function MulAndAdd(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 13: function MulAndAdd(const X: TMtxVecInt; xIndex: Integer; const Y: TMtxVecInt; yIndex: Integer; xyScale: integer; Z: integer; Index, Len: Integer): TMtxVecInt; overload;
Compute (X*Y)*xyScale + 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 | 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
The following expression would also run at the same or higher speed, when passing X also for the Y parameter:
X^2*xyScale + zScale
Overload 14: function MulAndAdd(const X: TMtxVecInt; xIndex: integer; Y, Z: integer; Index, Len: integer): TMtxVecInt; overload;
Compute (X*yScalar) + zScalar
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | xIndex | integer | |
| 3 | Y | integer | |
| 4 | Z | integer | |
| 5 | Index | integer | start index |
| 6 | Len | integer | element count |
Result: stored in self (calling object), returns self for chaining