ListTools[PartialSums] - return the partial sums of a list
|
Calling Sequence
|
|
PartialSums(L)
|
|
Description
|
|
•
|
The PartialSums(L) function returns a list of partial sums of the elements in list L.
|
•
|
This procedure has option inline; therefore, it can be used within a procedure without the overhead of a procedure call.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
|
|
Download Help Document
Was this information helpful?