Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)


gives a list of the successive accumulated totals of elements in list.

Details and OptionsDetails and Options

  • If list has length n, then Accumulate[list] will have the same length.
  • Accumulate[list] is effectively equivalent to Rest[FoldList[Plus,0,list]].
  • Accumulate[list,Method->"CompensatedSummation"] uses compensated summation to reduce numerical error in the result.
Introduced in 2007
| Updated in 2008