DOCUMENTATION CENTER SEARCH
Mathematica
>
Math & Counting Operations on Lists
>
Built-in
Mathematica
Symbol
FoldList
Differences
Total
Sum
Plus
MovingAverage
See Also »
|
Applying Functions to Lists
Arithmetic Functions
Data Transforms and Smoothing
Discrete & Integer Data
Math & Counting Operations on Lists
Numerical Data
New in 6.0: Core Language
New in 6.0: List Manipulation
New in 6.0: Numerical Data Handling
More About »
Accumulate
Accumulate
[
list
]
gives a list of the successive accumulated totals of elements in
list
.
MORE INFORMATION
If
list
has length
n
, then
Accumulate
[
list
]
will have the same length.
Accumulate
[
list
]
is effectively equivalent to
Rest
[
FoldList
[
Plus
, 0,
list
]]
.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Cumulative sums:
In[1]:=
Out[1]=
Accumulate within columns:
In[1]:=
Out[1]=
Generalizations & Extensions
(1)
Applications
(4)
Properties & Relations
(3)
Neat Examples
(1)
SEE ALSO
FoldList
Differences
Total
Sum
Plus
MovingAverage
MORE ABOUT
Applying Functions to Lists
Arithmetic Functions
Data Transforms and Smoothing
Discrete & Integer Data
Math & Counting Operations on Lists
Numerical Data
New in 6.0: Core Language
New in 6.0: List Manipulation
New in 6.0: Numerical Data Handling
New in 6
© 2008 Wolfram Research, Inc.