Re: "Accumulate" with operator Times.
- To: mathgroup at smc.vnet.net
- Subject: [mg114868] Re: "Accumulate" with operator Times.
- From: "Harvey P. Dale" <hpd1 at nyu.edu>
- Date: Tue, 21 Dec 2010 00:17:39 -0500 (EST)
- References: <201012200540.AAA22768@smc.vnet.net>
Matthias:
FoldList[Times,1,{a,b,c}]
Best,
Harvey
-----Original Message-----
From: Matthias Bode [mailto:lvsaba at hotmail.com]
Sent: Monday, December 20, 2010 12:40 AM
To: mathgroup at smc.vnet.net
Subject: [mg114868] "Accumulate" with operator Times.
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.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
- References:
- "Accumulate" with operator Times.
- From: Matthias Bode <lvsaba@hotmail.com>
- "Accumulate" with operator Times.