Re: Nested For Loops
- To: mathgroup at smc.vnet.net
- Subject: [mg15718] Re: [mg15699] Nested For Loops
- From: Jurgen Tischer <jtischer at col2.telecom.com.co>
- Date: Fri, 5 Feb 1999 03:42:16 -0500 (EST)
- Organization: Universidad del Valle
- References: <199902011954.OAA20628@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Arani, I'm afraid without context there is no good answer. Of course one could answer Do[something here,{t,r1,r2,step},{z,r3,r4,step1}] but I bet this is not the true Mathematica way to handle your what-this-something-is-good-for. Jurgen aranisin wrote: > > Hi, > > I am wondering how to write a nested iterative loop in Mathematica. > > I want the equivalent of: > > For [t=r1; t<r2, t=r1+step, > For [z =r3; z< r4, z=r3+step1, > Do something here > ] > ] > > Thanks for your help. > > -Arani
- References:
- Nested For Loops
- From: aranisin@scf-fs.usc.edu (aranisin)
- Nested For Loops