Home > Objects > @iData > cumsum.m

iFit/cumsum

PURPOSE ^

s = cumsum(a,dim) : computes the cumulative sum of iData objects elements

SYNOPSIS ^

function [b,sigma] = cumsum(a,dim)

DESCRIPTION ^

 s = cumsum(a,dim) : computes the cumulative sum of iData objects elements

   @iData/cumsum function to compute the cumulative sum of the elements of the data set
     cumsum(a,dim) accumulates along axis of rank dim.

 input:  a: object or array (iData)
         dim: dimension to accumulate (int)
 output: s: accumulated sum of elements (iData)
 ex:     c=cumsum(a);

 Version: Nov. 27, 2018
 See also iData, iData/plus, iData/sum, iData/prod, iData/cumprod

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 27-Nov-2018 10:56:24 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1