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 2000

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

Search the Archive

RE: FixedPoint vs. FixedPointList

  • To: mathgroup at
  • Subject: [mg24436] RE: [mg24384] FixedPoint vs. FixedPointList
  • From: F.H.Simons at
  • Date: Tue, 18 Jul 2000 00:58:35 -0400 (EDT)
  • Sender: owner-wri-mathgroup at


Maybe the following will help you. Let n be a counter for the number of

n=0; x = FixedPoint[ f, x, SameTest :> (n++;Abs[#2-#1]<somesmallnumber&)]

Now the value of n is the number of iterations. Note the SetDelayed in


Fred Simons
Eindhoven University of Technology

  • Prev by Date: Quick Linux question
  • Next by Date: Equation of a "potato"
  • Previous by thread: FixedPoint vs. FixedPointList
  • Next by thread: Re: FixedPoint vs. FixedPointList