pymc.math.cumsum#
- pymc.math.cumsum(x, axis=None)[source]#
Return the cumulative sum of the elements along a given axis.
This wraps
numpy.cumsum
.- Parameters:
- x
Input tensor variable.
- axis
The axis along which the cumulative sum is computed. The default (None) is to compute the cumsum over the flattened array.
- .. versionadded:: 0.7