The cumSum command finds the partial sums of a list or sequence; namely, the kth element of the
Examples.
√ |
| , | √ |
| +3, | √ |
| +3+4, | √ |
| +3+4+5, | √ |
| +3+4+5+6 |
√ |
| , | √ |
| +3, | √ |
| +7, | √ |
| +12, | √ |
| +18 |
1.2,4.2,8.7,14.7 |
⎡ ⎣ | 0,1,3,6,10 | ⎤ ⎦ |
"a","ab","abc","abcd" |
⎡ ⎣ | "a","aab","aababc","aababcabcd" | ⎤ ⎦ |