MathGroup Archive 2011

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

Search the Archive

dynamic nested loops

  • To: mathgroup at smc.vnet.net
  • Subject: [mg122819] dynamic nested loops
  • From: Ron <ragove at verizon.net>
  • Date: Fri, 11 Nov 2011 04:56:10 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

i need to perform nested sums such as Sum[f, {i,imin,imax},{j, jmin, jmax}, ...{}].  In each nest the new index is a function of the previous and the max values vary.  Also at the beginning I do not know how long a nest I need.  I can't come up with anything that works.  I could construct a list {{i,imin,imax},{j, jmin, jmax}, ...{}} but "Sum" doen't know what to do with the outside braces{...}.
ANy suggestions would be much appreciated.



  • Prev by Date: Mathematical Statistics with Mathematica - new 2011 edition
  • Next by Date: How can I protect an cdf document to avoid that the user open the
  • Previous by thread: Mathematical Statistics with Mathematica - new 2011 edition
  • Next by thread: Re: dynamic nested loops