Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6380
| From | Ron <ragove@verizon.net> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | dynamic nested loops |
| Date | 2011-11-11 10:03 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j9irsq$8g5$1@smc.vnet.net> (permalink) |
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.
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
dynamic nested loops Ron <ragove@verizon.net> - 2011-11-11 10:03 +0000 Re: dynamic nested loops Peter Pein <petsie@dordos.net> - 2011-11-12 12:44 +0000 Re: dynamic nested loops Ray Koopman <koopman@sfu.ca> - 2011-11-13 09:43 +0000
csiph-web