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