Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

Nested For Loops

  • To: mathgroup at smc.vnet.net
  • Subject: [mg15699] Nested For Loops
  • From: aranisin at scf-fs.usc.edu (aranisin)
  • Date: Mon, 1 Feb 1999 14:54:17 -0500 (EST)
  • Organization: University of Southern California, Los Angeles, CA
  • Sender: owner-wri-mathgroup at wolfram.com

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


  • Prev by Date: Character problem
  • Next by Date: Re: Mathematica and OPENSTEP
  • Previous by thread: Re: Character problem
  • Next by thread: Re: Nested For Loops