MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Trivial question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg95418] Re: Trivial question
  • From: Bill Rowe <readnews at sbcglobal.net>
  • Date: Sun, 18 Jan 2009 05:30:20 -0500 (EST)

On 1/17/09 at 5:28 AM, stevebg at roadrunner.com (Steve Gray) wrote:

>I haven't used Mathematica for a year so I've forgotten a lot. I
>want to take the product of elements in a list of definite length.
>e={e1,e2,e3, ... ,e13} ("13" could be anything) I want e1 e2 ....
>e13. In other words like Total[e]=e1+e2...

This is done using Apply and Times, i.e.

Times@@e

which is shorthand for

Apply[Times,e]



  • Prev by Date: Re: Trivial question
  • Next by Date: Re: Trivial question
  • Previous by thread: Re: Trivial question
  • Next by thread: Re: Trivial question