TMtx::CumProduct Method

Overload List

#SignatureDescription
1TMtxVec *CumProduct(double Value, int Index, int Len);Calculate the cumulative product for all Vec elements.
2TMtxVec *CumProduct(const TCplx &Value, int Index, int Len);Calculate the cumulative product for all Vec elements.

Overload 1: TMtxVec *CumProduct(double Value, int Index, int Len);

Calculate the cumulative product for all Vec elements.

#NameTypeDescription
1Valuedouble
2Indexint
3Lenint
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.

Declared in Dew::Math::TDenseMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 2: TMtxVec *CumProduct(const TCplx &Value, int Index, int Len);

Calculate the cumulative product for all Vec elements.

#NameTypeDescription
1Valueconst TCplx &
2Indexint
3Lenint
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.

Declared in Dew::Math::TDenseMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler