Re: "Accumulate" with operator Times.
- To: mathgroup at smc.vnet.net
- Subject: [mg114864] Re: "Accumulate" with operator Times.
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Tue, 21 Dec 2010 00:16:55 -0500 (EST)
- Reply-to: hanlonr at cox.net
v = {a, b, c}; FoldList[Times, 1, v] // Rest {a, a b, a b c} E^Accumulate[Log[v]] {a, a b, a b c} Bob Hanlon ---- Matthias Bode <lvsaba at hotmail.com> wrote: ============= Hola: In[5]:= Accumulate[{a, b, c}] yields Out[5]= {a, a + b, a + b + c} Is there a simple command, similar to Accumulate, that yields {a, a*b, a*b*c} ? Best regards, MATTHIAS BODE S 17.35775=B0, W 066.14577=B0 2'740 m AMSL.