You are here: Symbol Reference > MtxExpr Namespace > Classes > Vector Record > public > CumProduct Method > Vector.CumProduct Method (Double)
MtxVec VCL
ContentsIndex
PreviousUpNext
Vector.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!