Accumulate
The running sums of a list.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
Accumulate✓Accumulate(list).Typed signatures
| Type | Package | Applies |
|---|---|---|
(collection<any>) -> collection | combinatorics | always |
Details
- The first element is kept as-is; each later element is the sum of everything up to and including it.
- Equivalent to — see FoldList.
Examples
About
| Examples | 9 |
|---|---|
| Checked against | Wolfram Language 9 agree |
| Crosswalk | Wolfram Language |
See also: FoldList