MathGroup Archive 2006

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

Search the Archive

NestWhile iterator.


Dear Mathematica group,

	I believe that I saw in these postings within the last several
months a very elegant method for counting the number of times that
the function NestWhile runs.

	Instead of f[n_]:=expression; Length@NestWhile[f, initial, test]
it was a single execution of NestWhile followed by recalling an
internal iterator.

	Would someone please be so kind as to repost that listing?

Thanks in advance, Bob.


  • Prev by Date: Reconstructing data points from a InterpolatingFunction object
  • Next by Date: Lists and rules
  • Previous by thread: Re: Reconstructing data points from a InterpolatingFunction object
  • Next by thread: Re: NestWhile iterator.