Cumulative sum of elements (along an axis).
See also numpy.ndarray.cumsum().
numpy.ndarray.cumsum()
treams.TMatrix.cumprod
treams.TMatrix.diagonal