Overload List
Overload 1: function MulAndDiv(const X, Y: TMtxVec; const Z: Double): TMtxVec; overload;
Compute X * Y / zScalar
Result: stored in self (calling object), returns self for chaining
Overload 2: function MulAndDiv(const X, Y: TMtxVec; const xyScale: Double; const Z: TMtxVec): TMtxVec; overload;
Compute X Y xyScale / Z
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | Y | TMtxVec | source TVec or TMtx |
| 3 | xyScale | Double | scalar |
| 4 | Z | TMtxVec | source TVec or TMtx |
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
Overload 3: function MulAndDiv(const X, Y: TMtxVec; const Z: TCplx): TMtxVec; overload;
Compute X * Y / zScalar
Result: stored in self (calling object), returns self for chaining
Overload 4: function MulAndDiv(const X, Y: TMtxVec; const xyScale: TCplx; const Z: TMtxVec): TMtxVec; overload;
Compute X Y xyScale / Z
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | Y | TMtxVec | source TVec or TMtx |
| 3 | xyScale | TCplx | scalar |
| 4 | Z | TMtxVec | source TVec or TMtx |
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
Overload 5: function MulAndDiv(const X, Y, Z: TMtxVec): TMtxVec; overload;
Compute X * Y / Z
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | Y | TMtxVec | source TVec or TMtx |
| 3 | Z | TMtxVec | source TVec or TMtx |
Result: stored in self (calling object), returns self for chaining
Overload 6: function MulAndDiv(const X: TMtxVec; xIndex: integer; const Y: TMtxVec; yIndex: integer; const xyScale: Double; const Z: TMtxVec; zIndex: integer; Index, Len: integer): TMtxVec; overload;
Compute X Y xyScale / Z on sub array
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | xIndex | integer | |
| 3 | Y | TMtxVec | source TVec or TMtx |
| 4 | yIndex | integer | |
| 5 | xyScale | Double | scalar |
| 6 | Z | TMtxVec | source TVec or TMtx |
| 7 | zIndex | integer | |
| 8 | Index | integer | start index |
| 9 | Len | integer | element count |
Result: stored in self (calling object), returns self for chaining
Overload 7: function MulAndDiv(const X: TMtxVec; xIndex: integer; const Y: TMtxVec; yIndex: integer; const Z: Double; Index, Len: integer): TMtxVec; overload;
Compute X * Y / zScalar on sub array
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | xIndex | integer | |
| 3 | Y | TMtxVec | source TVec or TMtx |
| 4 | yIndex | integer | |
| 5 | Z | Double | scalar |
| 6 | Index | integer | start index |
| 7 | Len | integer | element count |
Result: stored in self (calling object), returns self for chaining
Overload 8: function MulAndDiv(const X: TMtxVec; xIndex: integer; const Y: TMtxVec; yIndex: integer; const xyScale: TCplx; const Z: TMtxVec; zIndex: integer; Index, Len: integer): TMtxVec; overload;
Compute X Y xyScale / Z on sub array
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | xIndex | integer | |
| 3 | Y | TMtxVec | source TVec or TMtx |
| 4 | yIndex | integer | |
| 5 | xyScale | TCplx | scalar |
| 6 | Z | TMtxVec | source TVec or TMtx |
| 7 | zIndex | integer | |
| 8 | Index | integer | start index |
| 9 | Len | integer | element count |
Result: stored in self (calling object), returns self for chaining
Overload 9: function MulAndDiv(const X: TMtxVec; xIndex: integer; const Y: TMtxVec; yIndex: integer; const Z: TCplx; Index, Len: integer): TMtxVec; overload;
Compute X * Y / zScalar on sub array
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | xIndex | integer | |
| 3 | Y | TMtxVec | source TVec or TMtx |
| 4 | yIndex | integer | |
| 5 | Z | TCplx | scalar |
| 6 | Index | integer | start index |
| 7 | Len | integer | element count |
Result: stored in self (calling object), returns self for chaining
Overload 10: function MulAndDiv(const X: TMtxVec; xIndex: integer; const Y: TMtxVec; yIndex: integer; const Z: TMtxVec; zIndex: integer; Index, Len: integer): TMtxVec; overload;
Compute X * Y / Z on sub array
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | xIndex | integer | |
| 3 | Y | TMtxVec | source TVec or TMtx |
| 4 | yIndex | integer | |
| 5 | Z | TMtxVec | source TVec or TMtx |
| 6 | zIndex | integer | |
| 7 | Index | integer | start index |
| 8 | Len | integer | element count |
Result: stored in self (calling object), returns self for chaining