> > BTW: Do we have a cumulative sum function in Fricas?
> > The cumSum([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]) should
> > give me [0,  1,  3,  6, 10, 15, 21, 28, 36, 45].
> 
> scan(+, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 0)

Wow, very nice! Many thanks!

I did not know about "scan".

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/fricas-devel?hl=en.

Reply via email to