PartialSums - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


ListTools

  

PartialSums

  

return the partial sums of a list

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

PartialSums(L)

Parameters

L

-

list

Description

• 

The PartialSums(L) function returns a list of partial sums of the elements in list L.

Examples

withListTools:

PartialSumsa,b,c

a,a+b,a+b+c

(1)

L1,2,3,4,5,6,7,8,9,10

L1,2,3,4,5,6,7,8,9,10

(2)

PartialSumsL

1,3,6,10,15,21,28,36,45,55

(3)

Digits2

Digits2

(4)

PartialSumsseqsin1.0i,i=0..13

0.,0.84,1.8,1.9,1.1,0.14,−0.14,0.52,1.5,1.9,1.4,0.4,−0.14,0.28

(5)

See Also

inline

list

ListTools

type[list]