Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec CumProduct(TCplx Value, Int32 Index, Int32 Len) | Calculate the cumulative product for all Vec elements. |
| 2 | TMtxVec CumProduct(Double Value, Int32 Index, Int32 Len) | Calculate the cumulative product for all Vec elements. |
Overload 1: TMtxVec CumProduct(TCplx Value, Int32 Index, Int32 Len)
Calculate the cumulative product for all Vec elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx | scalar |
| 2 | Index | Int32 | start index |
| 3 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Remarks:
The size must be set by the user. The function will store all powers of Value:
Values[Index + i] := IntPower(Value, i + 1)
at the corresponding array Index.
Overload 2: TMtxVec CumProduct(Double Value, Int32 Index, Int32 Len)
Calculate the cumulative product for all Vec elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Double | scalar |
| 2 | Index | Int32 | start index |
| 3 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Remarks:
The size must be set by the user. The function will store all powers of Value:
Values[Index + i] := IntPower(Value, i + 1)
at the corresponding array Index.