• Futurama Formulas - Date and time
• Futurama Formulas - Math
• Futurama Formulas - Statistical
• Futurama Formulas - Text
• Futurama Formulas - Logical
• Futurama Formulas - Table
• Futurama Formulas - Document
• Futurama Formulas - Conversion
• Futurama Formulas - Matrix
• Creating custom formulas in Futurama

Module: Editor

Version: 5.1.4 +

Type: Long or Double

Category: Matrix

## Description

The formula 'CumulativeProductMatrix' returns the cumulative product of a matrix over a specified dimension. A cumulative product is the result of multiplying the numbers from left to right or from top to bottom. The function 'CumulativeProductMatrix' creates a new matrix with the same amount of rows and columns as the matrix used for the input, but with the cumulative product.

## Parameters

Matrix:               the matrix you want to take the cumulative product from.

Dimension:         the dimension to accumulate. 1 means downwards (over rows), 2 means rightwards (over columns).

## Example

### Description

In the following example the formula 'CumulativeProductMatrix' is used to take the cumulative product of a matrix over dimension 2 (over columns).

### Values parameters

Matrix:

Column1Column2Column3Column4
2 4
3

Dimension: 2

### Result

Matrix:

Column1Column2Column3Column4
2 8 48  384
3 15 105 945

The result is a matrix with the cumulative product in the last column.

## Related Topics

Cumulative : The formula 'Cumulative' returns a cumulative matrix over a specified dimension.