On Sat, Nov 17, 2012 at 04:22:59PM +0100, someone wrote:
> 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)

Franz

-- 
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