Re: Product
- To: mathgroup at smc.vnet.net
- Subject: [mg87491] Re: Product
- From: Szabolcs Horvát <szhorvat at gmail.com>
- Date: Fri, 11 Apr 2008 05:56:40 -0400 (EDT)
- Organization: University of Bergen
- References: <ftmtsj$4lf$1@smc.vnet.net>
Steven wrote: > Silly beginner's question: is there a function to multiply all elements of a > list, like Total does for addition? No, there isn't. But it would be redundant anyway because it is very easy to build your own: In[1]:= Times @@ {1, 2, 3, 4, 5} Out[1]= 120 Look up Apply in the documentation.
- Follow-Ups:
- Re: Re: Product
- From: Murray Eisenberg <murray@math.umass.edu>
- Re: Re: Product