Mathematica > Core Language > List Manipulation > Math & Counting Operations on Lists >
Mathematica > Data Manipulation > Handling Arrays of Data > Math & Counting Operations on Lists >

Accumulate

Updated In 7 Graphic
Accumulate[list]
gives a list of the successive accumulated totals of elements in list.
  • If list has length n, then Accumulate[list] will have the same length.
  • Accumulate[list, Method->"CompensatedSummation"] uses compensated summation to reduce numerical error in the result.
New in 6 | Last modified in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team