You are here: Symbol Reference > MtxVec Namespace > Classes > TVec Class > public > CumProduct Method > TVec.CumProduct Method (Double)
MtxVec VCL
ContentsIndex
PreviousUpNext
TVec.CumProduct Method (Double)

Calculate the cumulative product for all Vec elements.

Pascal
function CumProduct(Value: Double): TMtxVec; overload;

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.

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