What do you mean by cumulative sum? There is sum (from python), e.g. sage: sum(range(100)) 4950 sage: sum([i^3 for i in range(100)]) 24502500
John Cremona On 16 April 2014 09:12, Funmilayo Eniola Kazeem <[email protected]> wrote: > Hello, > > Is there a command for cumulative sum in SAGE? If yes, what is it? If not, > how do I do it? > > Thanks, > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sage-support. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
