CUMSUM

 

 Cumulative sum of the elements.

  For vectors, CUMSUM(X) is the cumulative sum of the elements

  of X. For matrices, CUMSUM(X) is a matrix containing

  the cumulative sums over each column.

 

 

  See also CUMPROD1N5DKXG, SUMN26LU2, PROD2RCHBXR.