Command Reference
:
Matrix Language Reference
@cumprod
Matrix Utility Functions
Syntax: @cumprod(
M
)
Argument: matrix,
M
Return: matrix
Returns a matrix holding the cumulative product of the elements of matrix
M
in vectorization order. Example:
@cumprod(@ones(3,3)*2)
See also
@cumsum
,
@colcumsum
, and
@colcumprod
.