DADiSP Worksheet Functions > Function Categories > Series and Scalar Math > CUMPROD

 

CUMPROD

Purpose:

Calculates the cumulative product of a series.

Syntax:

CUMPROD(series)

series

-

A series or table.

Returns:

A series or table.

Example:

cumprod({1, 2, 3, 4})

 

returns {1, 2, 6, 24}.

Remarks:

The nth value of the output series is equal to the product of the first n points of the input series:

 

image\cumprod01.gif

 

CUMPROD calculates the cumulative product of a series.

 

CUMPROD is similar to PARTPROD.

 

See CUMSUM to calculate the cumulative sum.

See Also:

CUMAVG

CUMSUM

FACTORIAL

GAMMA

INTEG

PARTPROD

PROD