pymc.math.cumprod#

pymc.math.cumprod(x, axis=None)[source]#

Return the cumulative product of the elements along a given axis.

This wraps numpy.cumprod.

Parameters:
x

Input tensor variable.

axis

The axis along which the cumulative product is computed. The default (None) is to compute the cumprod over the flattened array.

.. versionadded:: 0.7