DADiSP Worksheet Functions > Function Categories > Matrix Math and Special Matrices > PARTPROD

 

PARTPROD

Purpose:

Calculates the partial product of a series.

Syntax:

PARTPROD(series)

series

-

A series or table.

Returns:

A series or table.

Example:

partprod({2, 4, 7})

 

returns the series: {2, 14, 119}.

Remarks:

The partial product, y, of a series, x, is computed as follows:

 

y[1] = x[1];
 
loop (j = 2..length(x))
{
    y[j] = (x[j] + 1) * (y[j-1] + 1) - 1;
}

 

See CUMPROD to calculate the cumulative product.

See Also:

CUMPROD

PARTSUM

PROD

REDUCE