You are here: Symbol Reference > MtxExpr Namespace > Classes > Matrix Record > public > CumProduct Method > Matrix.CumProduct Method (TCplx, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
Matrix.CumProduct Method (TCplx, integer, integer)

Calculate the cumulative product for all Vec elements.

Pascal
function CumProduct(const Value: TCplx; Index: integer; Len: integer): TMtxVec; overload;

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

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!