Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: terminate the NestWhile

  • To: mathgroup at
  • Subject: [mg72376] Re: terminate the NestWhile
  • From: "Mark Westwood" <markc.westwood at>
  • Date: Sat, 23 Dec 2006 06:14:35 -0500 (EST)
  • References: <emgfru$29q$>


The help documentation gives us the following information ...

NestWhile[f, expr, test, m, max] applies f at most max times.


On 22 Dec, 11:34, Arkadiusz.Ma... at wrote:
> Hi,
> NestWhile repeats calculations until test is no longer True. Sometimes
> it happens that it takes a lot of time. How can I terminate
> calculations if they last more than the certain amount of time or more
> than certain number of iterations?
> Best,
> Arek

  • Prev by Date: GraphPlot display anomaly
  • Next by Date: Re: Any simple way to flatten all but the bottom level?
  • Previous by thread: RE: Re: GraphPlot display anomaly
  • Next by thread: terminate the NestWhile